function ShortcutHooks::navigationDefaults
Same name and namespace in other branches
- main core/modules/shortcut/src/Hook/ShortcutHooks.php \Drupal\shortcut\Hook\ShortcutHooks::navigationDefaults()
Implements hook_navigation_defaults().
Attributes
#[Hook('navigation_defaults')]
File
-
core/
modules/ shortcut/ src/ Hook/ ShortcutHooks.php, line 203
Class
- ShortcutHooks
- Hook implementations for shortcut.
Namespace
Drupal\shortcut\HookCode
public function navigationDefaults() : array {
return [
[
'region' => 'content',
'configuration' => [
'id' => 'navigation_shortcuts',
'label' => 'Shortcuts',
'label_display' => '0',
'provider' => 'shortcut',
],
'weight' => 0,
'additional' => [],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.