You are here

function field_group_help in Field Group 8.3

Implements hook_help().

File

./field_group.module, line 24
Allows administrators to attach field groups.

Code

function field_group_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.field_group':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Fieldgroup will, as the name implies, group fields together. All fieldable entities will have the possibility to add groups to wrap their fields together. Fieldgroup comes with default HTML wrappers like vertical tabs, horizontal tabs, accordions, fieldsets or div wrappers.') . '</p>';
      $output .= '<p>' . t('The field group project is a follow-up on the field group module in <a href="@linkcck">CCK</a>. The release will only exist for Drupal 7 release and higher, so since the existence of the Fields API in core.</br>By moving field group to a separate module, this may open some new perspectives.', [
        '@linkcck' => 'http://drupal.org/project/cck',
      ]) . '</p>';
      $output .= '<h3>' . t('More Information') . '</h3>';
      $output .= '<p>' . t('For more information about this module please visit the <a href="@link">module page</a>.', [
        '@link' => 'https://www.drupal.org/project/field_group',
      ]) . '</p>';
      return $output;
  }
}