1 | <?php |
||
19 | class EntityBrowserAccessControlHandler extends EntityAccessControlHandler { |
||
20 | |||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | * |
||
24 | * Link the activities to the permissions. checkAccess is called with the |
||
25 | * $operation as defined in the routing.yml file. |
||
26 | */ |
||
27 | protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) { |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | * |
||
44 | * Separate from the checkAccess because the entity does not yet exist, it |
||
45 | * will be created during the 'add' process. |
||
46 | */ |
||
47 | protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) { |
||
50 | |||
51 | } |
||
52 |