Registry::getBaseHook

public function Registry::getBaseHook

public Registry::getBaseHook($hook)

Returns the base hook for a given hook suggestion.

Parameters

string $hook: The name of a theme hook whose base hook to find.

Return value

string|false The name of the base hook or FALSE.

File

core/lib/Drupal/Core/Theme/Registry.php, line 263

Class

Registry
Defines the theme registry service.

Namespace

登录查看完整内容