You are here

function media_gallery_entity_update in Media Gallery 7

Same name and namespace in other branches
  1. 7.2 media_gallery.module \media_gallery_entity_update()

Implements hook_entity_update().

File

./media_gallery.module, line 1697

Code

function media_gallery_entity_update($entity, $type) {

  // This hook is used because it always runs after Pathauto's
  // hook_taxonomy_term_update() implementation.
  if ($type == 'taxonomy_term') {
    _media_gallery_allow_all_pathauto_aliases();
  }
}