You are here

function uuid_module_implements_alter in Universally Unique IDentifier 7

Implements hook_module_implements_alter().

Moves hook_entity_info_alter() implementation to the bottom so it is invoked after all modules relying on the entity API.

See also

uuid_entity_info_alter()

File

./uuid.module, line 144
Main module functions for the uuid module.

Code

function uuid_module_implements_alter(&$implementss, $hook) {
  if ($hook == 'entity_info_alter') {

    // Move our hook Implements to the bottom.
    $group = $implementss['uuid'];
    unset($implementss['uuid']);
    $implementss['uuid'] = $group;
  }
}