public function Trigger::executeNode in Build Hooks 8
Parameters
String $nodeType:
return void
Overrides TriggerInterface::executeNode
File
- src/
Trigger.php, line 123
Class
- Trigger
- Class Trigger.
Namespace
Drupal\build_hooksCode
public function executeNode($nodeType) {
$execute = (bool) $this->configFactory
->get('build_hooks.settings')
->get('triggers.node.' . $nodeType);
if ($execute) {
$this
->execute();
}
}