您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
470B

  1. <?php
  2. namespace Lc\SovBundle\Controller\Admin;
  3. use EasyCorp\Bundle\EasyAdminBundle\Config\Action;
  4. use EasyCorp\Bundle\EasyAdminBundle\Config\Actions;
  5. use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
  6. use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
  7. abstract class UserCrudController extends AbstractCrudController
  8. {
  9. public function configureFields(string $pageName): iterable
  10. {
  11. return [
  12. TextField::new('email')
  13. ];
  14. }
  15. }