You are here

function entity2text_module_implements_alter in Entity To Text 7

Implements hook_module_implements_alter().

Make sure this runs after entity_token_token_info_alter so that entity info is already given.

See also

entity_token_token_info_alter()

File

./entity2text.module, line 28

Code

function entity2text_module_implements_alter(&$implementations, $hook) {
  if ($hook === "token_info_alter") {
    $temp = $implementations['entity2text'];

    // Removing the mymodule key/value
    unset($implementations['entity2text']);

    // Adding the mymodule key value as the last member in the list
    $implementations['entity2text'] = $temp;
  }
}