function scheduled_transitions_entity_access in Scheduled Transitions 8
Same name and namespace in other branches
- 2.x scheduled_transitions.module \scheduled_transitions_entity_access()
Implements hook_entity_access().
See also
\Drupal\scheduled_transitions\ScheduledTransitionsEntityHooks::entityAccess
File
- ./
scheduled_transitions.module, line 24
Code
function scheduled_transitions_entity_access(EntityInterface $entity, $operation, AccountInterface $account) : AccessResultInterface {
return \Drupal::classResolver(ScheduledTransitionsEntityHooks::class)
->entityAccess($entity, $operation, $account);
}