-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e5fe7a
commit 6cda303
Showing
1 changed file
with
26 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,18 +33,19 @@ | |
/** | ||
* @author Thomas Rabaix <[email protected]> | ||
* | ||
* @method array configureActionButtons(string $action, ?object $object = null) | ||
* @method string getSearchResultLink(object $object) | ||
* @method void showMosaicButton(bool $isShown) | ||
* @method bool isDefaultFilter(string $name) | ||
* @method bool isCurrentRoute(string $name, ?string $adminCode) | ||
* @method bool canAccessObject(string $action, object $object) | ||
* @method mixed getPersistentParameter(string $name) | ||
* @method array getExportFields | ||
* @method array getSubClasses | ||
* @method AdminInterface getRoot | ||
* @method string getRootCode | ||
* @method array getActionButtons(string $action, ?object $object) | ||
* @method array configureActionButtons(string $action, ?object $object = null) | ||
* @method string getSearchResultLink(object $object) | ||
* @method void showMosaicButton(bool $isShown) | ||
* @method bool isDefaultFilter(string $name) | ||
* @method bool isCurrentRoute(string $name, ?string $adminCode) | ||
* @method bool canAccessObject(string $action, object $object) | ||
* @method mixed getPersistentParameter(string $name) | ||
* @method array getExportFields() | ||
* @method array getSubClasses() | ||
* @method AdminInterface getRoot() | ||
* @method string getRootCode() | ||
* @method array getActionButtons(string $action, ?object $object) | ||
* @method FieldDescriptionCollection|null getList() | ||
*/ | ||
interface AdminInterface extends AccessRegistryInterface, FieldDescriptionRegistryInterface, LifecycleHookProviderInterface, MenuBuilderInterface, ParentAdminInterface, UrlGeneratorInterface | ||
{ | ||
|
@@ -270,6 +271,9 @@ public function getValidator(); | |
*/ | ||
public function getShow(); | ||
|
||
// NEXT_MAJOR: uncomment this method in 4.0 | ||
// public function getList(): ?FieldDescriptionCollection; | ||
|
||
public function setFormTheme(array $formTheme); | ||
|
||
/** | ||
|
@@ -360,6 +364,8 @@ public function setSubject($subject); | |
public function getSubject(); | ||
|
||
/** | ||
* NEXT_MAJOR: Remove this methods, since it's already in FieldDescriptionRegistryInterface. | ||
* | ||
* Returns a list FieldDescription. | ||
* | ||
* @param string $name | ||
|
@@ -369,6 +375,8 @@ public function getSubject(); | |
public function getListFieldDescription($name); | ||
|
||
/** | ||
* NEXT_MAJOR: Remove this methods, since it's already in FieldDescriptionRegistryInterface. | ||
* | ||
* Returns true if the list FieldDescription exists. | ||
* | ||
* @param string $name | ||
|
@@ -378,6 +386,8 @@ public function getListFieldDescription($name); | |
public function hasListFieldDescription($name); | ||
|
||
/** | ||
* NEXT_MAJOR: Remove this methods, since it's already in FieldDescriptionRegistryInterface. | ||
* | ||
* Returns the collection of list FieldDescriptions. | ||
* | ||
* @return array | ||
|
@@ -542,13 +552,17 @@ public function setShowGroups(array $showGroups); | |
public function reorderShowGroup($group, array $keys); | ||
|
||
/** | ||
* NEXT_MAJOR: Remove this methods, since it's already in FieldDescriptionRegistryInterface | ||
* | ||
* add a FieldDescription. | ||
* | ||
* @param string $name | ||
*/ | ||
public function addFormFieldDescription($name, FieldDescriptionInterface $fieldDescription); | ||
|
||
/** | ||
* NEXT_MAJOR: Remove this methods, since it's already in FieldDescriptionRegistryInterface | ||
* | ||
* Remove a FieldDescription. | ||
* | ||
* @param string $name | ||
|