public function Trigger::showMenu in Build Hooks 8.2
Same name and namespace in other branches
- 8 src/Trigger.php \Drupal\build_hooks\Trigger::showMenu()
- 3.x src/Trigger.php \Drupal\build_hooks\Trigger::showMenu()
Checks if we should show the environments in the upper menu.
Return value
bool Boolean value.
Overrides TriggerInterface::showMenu
File
- src/
Trigger.php, line 170
Class
- Trigger
- Class Trigger.
Namespace
Drupal\build_hooksCode
public function showMenu() {
if (!$this
->isValidUser()) {
return FALSE;
}
return TRUE;
}