forked from sonata-project/SonataAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process NEXT_MAJOR hints for "Add pre batch action event"
A pre batch action event was added to 4.x through sonata-project#7579. This processes all the NEXT_MAJOR comments for 5.x for this specific feature
- Loading branch information
Showing
4 changed files
with
10 additions
and
20 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
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
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 |
---|---|---|
|
@@ -24,10 +24,6 @@ | |
/** | ||
* @author Thomas Rabaix <[email protected]> | ||
* | ||
* NEXT_MAJOR: Uncomment the actual definition of below methods inside the interface and remove these annotations. | ||
* | ||
* @method void preBatchAction(AdminInterface $admin, string $actionName, ProxyQueryInterface $query, array &$idx, bool $allElements) | ||
* | ||
* @phpstan-template T of object | ||
*/ | ||
interface AdminExtensionInterface | ||
|
@@ -131,12 +127,11 @@ public function getAccessMapping(AdminInterface $admin): array; | |
*/ | ||
public function configureBatchActions(AdminInterface $admin, array $actions): array; | ||
|
||
// NEXT_MAJOR: Uncomment the method definition | ||
///** | ||
// * @param mixed[] $idx | ||
// * @phpstan-param AdminInterface<T> $admin | ||
// */ | ||
//public function preBatchAction(AdminInterface $admin, string $actionName, ProxyQueryInterface $query, array &$idx, bool $allElements): void; | ||
/** | ||
* @param mixed[] $idx | ||
* @phpstan-param AdminInterface<T> $admin | ||
*/ | ||
public function preBatchAction(AdminInterface $admin, string $actionName, ProxyQueryInterface $query, array &$idx, bool $allElements): void; | ||
|
||
/** | ||
* Get a chance to modify export fields. | ||
|
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