function fb_instant_articles_display_module_implements_alter in Facebook Instant Articles 7.2
Implements hook_module_implements_alter().
See also
fb_instant_articles_display_declare_entity_preprocess_hooks()
File
- modules/
fb_instant_articles_display/ fb_instant_articles_display.module, line 62 - Hook implementations for Facebook Instant Articles Display module.
Code
function fb_instant_articles_display_module_implements_alter(&$implementations, $hook) {
// Ensure hook_fb_instant_articles_article_alter() runs first, so that other
// modules can override mappings made by this module by implementing
// hook_fb_instant_articles_article_alter().
if ($hook != 'fb_instant_articles_article_alter') {
return;
}
$module = 'fb_instant_articles_display';
$group = array(
$module => $implementations[$module],
);
unset($implementations[$module]);
$implementations = $group + $implementations;
}