You are here

function fullcalendar_help in FullCalendar 8.2

Same name and namespace in other branches
  1. 8.5 fullcalendar.module \fullcalendar_help()
  2. 8 fullcalendar.module \fullcalendar_help()
  3. 8.3 fullcalendar.module \fullcalendar_help()
  4. 8.4 fullcalendar.module \fullcalendar_help()

Implements hook_help().

File

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

Code

function fullcalendar_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.fullcalendar':
      $output = '';
      $output .= '<h3>' . t('Fullcalendar') . '</h3>';
      $output .= '<p>' . t('The Fullcalendar module is an integration of the <a href=":fullcalendar-uri">Adam Shaw\'s FullCalendar Javascript calendar</a> with Drupal.', [
        ':fullcalendar-uri' => Url::fromUri('https://fullcalendar.io')
          ->toString(),
      ]) . '</p>';
      return $output;
  }
}