public function Trigger::showMenu in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 src/Trigger.php \Drupal\build_hooks\Trigger::showMenu()
- 8 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
- Defines a service for triggering deployments.
Namespace
Drupal\build_hooksCode
public function showMenu() {
if (!$this
->isValidUser()) {
return FALSE;
}
return TRUE;
}