Sébastien ROTH

Results 1 comments of Sébastien ROTH

Here is what I do for my customActions : ``` #[AdminAction(routePath: '{entityId}/custom', routeName: 'custom')] public function myAction(AdminContext $context): Response { if (!$context->getEntity()->isAccessible()) { throw new InsufficientEntityPermissionException($context); } $entity = $context->getEntity()->getInstance();...