You are here

function entity_reference_layout_help in Entity Reference with Layout 8

Implements hook_help().

File

./entity_reference_layout.module, line 17
Contains entity_reference_layout.module.

Code

function entity_reference_layout_help($route_name, RouteMatchInterface $route_match) {
  $output = '';
  switch ($route_name) {

    // Main module help for the entity_reference_layout module.
    case 'help.page.entity_reference_layout':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Entity reference field with layouts') . '</p>';
      break;
  }
  return $output;
}