You are here

function field_orbit_help in ZURB Orbit 8

Implements hook_help().

File

./field_orbit.module, line 46
Implement a orbit formatter for fields.

Code

function field_orbit_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.field_orbit':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module provides a slideshow display for image fields and field collections using the <a href=":orbit_url">plugin for Zurb Foundation 6.</a>', [
        ':orbit_url' => 'http://foundation.zurb.com/sites/docs/orbit.html',
      ]) . '</p>';
      return $output;
  }
}