1 | <?php |
||
15 | class EventTemplateAccessControlHandler extends EntityAccessControlHandler { |
||
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) { |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | protected function checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) { |
||
46 | |||
47 | } |
||
48 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.