You are here

function build_hooks_get_trigger_service in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 build_hooks.module \build_hooks_get_trigger_service()

Get the trigger service.

Return value

\Drupal\build_hooks\Trigger The trigger service.

4 calls to build_hooks_get_trigger_service()
build_hooks_entity_delete in ./build_hooks.module
Implements hook_entity_delete().
build_hooks_entity_insert in ./build_hooks.module
Implements hook_entity_insert().
build_hooks_entity_update in ./build_hooks.module
Implements hook_entity_update().
build_hooks_toolbar in ./build_hooks.module
Implements hook_toolbar().

File

./build_hooks.module, line 175
Contains build_hooks.module.

Code

function build_hooks_get_trigger_service() {
  return \Drupal::service('build_hooks.trigger');
}