1 | <?php |
||
28 | abstract class AbstractAdminExtension implements AdminExtensionInterface |
||
29 | { |
||
30 | public function configureFormFields(FormMapper $formMapper) |
||
33 | |||
34 | public function configureListFields(ListMapper $listMapper) |
||
37 | |||
38 | public function configureDatagridFilters(DatagridMapper $datagridMapper) |
||
41 | |||
42 | public function configureShowFields(ShowMapper $showMapper) |
||
45 | |||
46 | public function configureRoutes(AdminInterface $admin, RouteCollection $collection) |
||
49 | |||
50 | public function configureSideMenu(AdminInterface $admin, MenuItemInterface $menu, $action, ?AdminInterface $childAdmin = null) |
||
53 | |||
54 | public function configureTabMenu(AdminInterface $admin, MenuItemInterface $menu, $action, ?AdminInterface $childAdmin = null) |
||
60 | |||
61 | public function validate(AdminInterface $admin, ErrorElement $errorElement, $object) |
||
64 | |||
65 | public function configureQuery(AdminInterface $admin, ProxyQueryInterface $query, $context = 'list') |
||
68 | |||
69 | public function alterNewInstance(AdminInterface $admin, $object) |
||
72 | |||
73 | public function alterObject(AdminInterface $admin, $object) |
||
76 | |||
77 | public function getPersistentParameters(AdminInterface $admin) |
||
81 | |||
82 | public function getAccessMapping(AdminInterface $admin) |
||
86 | |||
87 | public function configureBatchActions(AdminInterface $admin, array $actions) |
||
91 | |||
92 | public function configureExportFields(AdminInterface $admin, array $fields) |
||
96 | |||
97 | public function preUpdate(AdminInterface $admin, $object) |
||
100 | |||
101 | public function postUpdate(AdminInterface $admin, $object) |
||
104 | |||
105 | public function prePersist(AdminInterface $admin, $object) |
||
108 | |||
109 | public function postPersist(AdminInterface $admin, $object) |
||
112 | |||
113 | public function preRemove(AdminInterface $admin, $object) |
||
116 | |||
117 | public function postRemove(AdminInterface $admin, $object) |
||
120 | |||
121 | /** |
||
122 | * @param array $list |
||
123 | * @param string $action |
||
124 | * @param object $object |
||
125 | * |
||
126 | * @return array |
||
127 | */ |
||
128 | public function configureActionButtons(AdminInterface $admin, $list, $action, $object) |
||
129 | { |
||
130 | return $list; |
||
131 | } |
||
132 | |||
133 | public function configureDefaultFilterValues(AdminInterface $admin, array &$filterValues) |
||
136 | |||
137 | public function configureDefaultSortValues(AdminInterface $admin, array &$sortValues): void |
||
140 | } |
||
141 | |||
143 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.