You are here

function views_attach_library_help in Views Attach Library 2.0.x

Same name and namespace in other branches
  1. 8 views_attach_library.module \views_attach_library_help()

Implements hook_help().

File

./views_attach_library.module, line 30
This file adds a library to views page or block.

Code

function views_attach_library_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.views_attach_library':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t("The library in views module is designed to attach JS and CSS library in views, by providing just library name.") . '</p>';
      $output .= '</dl>';
      return $output;
  }
}