function ExperimentalModuleRequirementsTestHooks::help
Implements hook_help().
File
-
core/
modules/ system/ tests/ modules/ experimental_module_requirements_test/ src/ Hook/ ExperimentalModuleRequirementsTestHooks.php, line 20
Class
- ExperimentalModuleRequirementsTestHooks
- Hook implementations for experimental_module_requirements_test.
Namespace
Drupal\experimental_module_requirements_test\HookCode
public function help($route_name) : ?\Stringable {
switch ($route_name) {
case 'help.page.experimental_module_requirements_test':
// Make the help text conform to core standards.
return $this->t('The Experimental Requirements Test module is not done yet. It may eat your data, but you can read the <a href=":url">online documentation for the Experimental Requirements Test module</a>.', [
':url' => 'http://www.example.com',
]);
}
return NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.