You are here

function fieldable_panels_panes_module_implements_alter in Fieldable Panels Panes (FPP) 7

Implements hook_module_implements_alter().

File

./fieldable_panels_panes.module, line 124
Maintains an entity that appears as panel pane content.

Code

function fieldable_panels_panes_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'entity_info_alter') {

    // Fieldable Panels Panes will do a bit of clean-up to prevent issues with
    // obsolete paths found in legacy bundles that are provided by modules via
    // hook_entity_info_alter(), but we need to make sure that our
    // implementation is called last.
    $group = $implementations['fieldable_panels_panes'];
    unset($implementations['fieldable_panels_panes']);
    $implementations['fieldable_panels_panes'] = $group;
  }
}