You are here

function enterprise_base_entity_info_alter in Enterprise Base 7.3

Implements hook_entity_info_alter().

Here we will capture the taxonomy_term uri callback and make it so we can parse out the callback to various submodules.

Parameters

array $entity_info:

File

./enterprise_base.module, line 55

Code

function enterprise_base_entity_info_alter(&$entity_info) {
  $entity_info['taxonomy_term']['uri callback'] = 'enterprise_base_taxonomy_term_uri';
}