public function Trigger::showMenu in Build Hooks 8
Same name and namespace in other branches
- 8.2 src/Trigger.php \Drupal\build_hooks\Trigger::showMenu()
- 3.x src/Trigger.php \Drupal\build_hooks\Trigger::showMenu()
return void
Overrides TriggerInterface::showMenu
File
- src/
Trigger.php, line 133
Class
- Trigger
- Class Trigger.
Namespace
Drupal\build_hooksCode
public function showMenu() {
if (!$this
->isValidUser()) {
return FALSE;
}
return (bool) $this->configFactory
->get('build_hooks.settings')
->get('triggers.menu');
}