function ctools_help in Chaos Tool Suite (ctools) 8.3
Implements hook_help().
File
- ./
ctools.module, line 100 - Provides utility and helper APIs for Drupal developers and site builders.
Code
function ctools_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.ctools':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This suite is primarily a set of APIs and tools to improve the developer experience. It also contains a module called the Page Manager whose job is to manage pages. In particular it manages panel pages, but as it grows it will be able to manage far more than just Panels.') . '</p>';
$output .= '<p>' . t('For the moment, it includes the following tools:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . t('Plugins -- tools to make it easy for modules to let other modules implement plugins from .inc files.') . '</li>';
$output .= '<li>' . t('Exportables -- tools to make it easier for modules to have objects that live in database or live in code, such as "default views".') . '</li>';
$output .= '<li>' . t('AJAX responder -- tools to make it easier for the server to handle AJAX requests and tell the client what to do with them.') . '</li>';
$output .= '<li>' . t('Form tools -- tools to make it easier for forms to deal with AJAX.') . '</li>';
$output .= '<li>' . t('Object caching -- tool to make it easier to edit an object across multiple page requests and cache the editing work.') . '</li>';
$output .= '<li>' . t('Contexts -- the notion of wrapping objects in a unified wrapper and providing an API to create and accept these contexts as input.') . '</li>';
$output .= '<li>' . t('Modal dialog -- tool to make it simple to put a form in a modal dialog.') . '</li>';
$output .= '<li>' . t('Dependent -- a simple form widget to make form items appear and disappear based upon the selections in another item.') . '</li>';
$output .= '<li>' . t('Content -- pluggable content types used as panes in Panels and other modules like Dashboard.') . '</li>';
$output .= '<li>' . t('Form wizard -- an API to make multi-step forms much easier.') . '</li>';
+($output .= '<li>' . t('CSS tools -- tools to cache and sanitize CSS easily to make user-input CSS safe.') . '</li>');
$output .= '</ul>';
return $output;
}
}