You are here

function fullcalendar_fullcalendar_editable in FullCalendar 8

Same name and namespace in other branches
  1. 8.3 fullcalendar.module \fullcalendar_fullcalendar_editable()
  2. 7.2 fullcalendar.module \fullcalendar_fullcalendar_editable()

Implements hook_fullcalendar_editable().

Use our access callback as the editable setting.

File

./fullcalendar.module, line 112
Provides a views style plugin for FullCalendar

Code

function fullcalendar_fullcalendar_editable(EntityInterface $entity, $view) {
  return \Drupal::service('access_check.fullcalendar.update')
    ->check($entity);
}