You are here

function computed_field_help in Computed Field 8

Same name and namespace in other branches
  1. 8.2 computed_field.module \computed_field_help()
  2. 7 computed_field.module \computed_field_help()
  3. 3.x computed_field.module \computed_field_help()

Implements hook_help().

File

./computed_field.module, line 13
Contains computed_field.module.

Code

function computed_field_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the computed_field module.
    case 'help.page.computed_field':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Defines a field type that allows values to be &quot;computed&quot; via PHP code.') . '</p>';
      return $output;
    default:
  }
}