You are here

function build_hooks_entity_update in Build Hooks 8

Same name and namespace in other branches
  1. 8.2 build_hooks.module \build_hooks_entity_update()
  2. 3.x build_hooks.module \build_hooks_entity_update()

Implements hook_entity_update().

File

./build_hooks.module, line 38
Contains build_hooks.module.

Code

function build_hooks_entity_update(EntityInterface $entity) {
  getTriggerService()
    ->executeNode($entity
    ->getType());
}