function organigrams_entity_update in Organigrams 7
Implements hook_entity_update().
File
- ./
organigrams.module, line 2194 - Defines the organigrams functions and entity types.
Code
function organigrams_entity_update($entity, $type) {
switch ($type) {
case 'organigrams_item':
if (module_exists('rules')) {
rules_invoke_event('organigrams_item_update--' . $entity->organigrams_machine_name, $entity);
rules_invoke_event('organigrams_item_update', $entity);
}
break;
}
}