You are here

function eck_help in Entity Construction Kit (ECK) 8

Implements hook_help().

File

./eck.module, line 38
Contains hook implementations.

Code

function eck_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.eck':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Entity Construction Kit (ECK) builds upon the entity system to create a flexible and extensible data modeling system both with a UI for site builders, and with useful abstractions (classes, plugins, etc) to help developers use entities with ease. For more information, see the <a href="@eck">online documentation for the ECK module</a>.', [
        '@eck' => ECK_DOCUMENTATION_PAGE,
      ]) . '</p>';
      break;
    default:
      break;
  }
  return !empty($output) ? $output : '';
}