You are here

function pbf_help in Permissions by field 8

Implements hook_help().

File

./pbf.module, line 23
Contains pbf.module.

Code

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

    // Main module help for the pbf module.
    case 'help.page.pbf':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Manage access entity by Entity reference field') . '</p>';
      $output .= '<pre>' . file_get_contents(__DIR__ . '/README.txt') . '</pre>';
      return $output;
    default:
  }
}