HelpTestHooks.php
Namespace
Drupal\help_test\HookFile
-
core/
modules/ help/ tests/ modules/ help_test/ src/ Hook/ HelpTestHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\help_test\Hook;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Hook implementations for help_test.
*/
class HelpTestHooks {
/**
* Implements hook_help().
*/
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;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
HelpTestHooks | Hook implementations for help_test. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.