function HelpTestHooks::help

Implements hook_help().

Attributes

#[Hook('help')]

File

core/modules/help/tests/modules/help_test/src/Hook/HelpTestHooks.php, line 18

Class

HelpTestHooks
Hook implementations for help_test.

Namespace

Drupal\help_test\Hook

Code

public function help($route_name, RouteMatchInterface $route_match) : null {
  // Do not implement a module overview page to test an empty implementation.
  // @see \Drupal\help\Tests\HelpTest
  return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.