public function UpdateAccessCheck::access in FullCalendar 8
Same name and namespace in other branches
- 8.5 src/Access/UpdateAccessCheck.php \Drupal\fullcalendar\Access\UpdateAccessCheck::access()
- 8.2 src/Access/UpdateAccessCheck.php \Drupal\fullcalendar\Access\UpdateAccessCheck::access()
- 8.3 src/Access/UpdateAccessCheck.php \Drupal\fullcalendar\Access\UpdateAccessCheck::access()
- 8.4 src/Access/UpdateAccessCheck.php \Drupal\fullcalendar\Access\UpdateAccessCheck::access()
File
- src/
Access/ UpdateAccessCheck.php, line 18
Class
- UpdateAccessCheck
- @todo.
Namespace
Drupal\fullcalendar\AccessCode
public function access(EntityInterface $entity, AccountInterface $account) {
return AccessResult::allowedIf($entity && $this
->check($entity, $account))
->cachePerUser();
}