You are here

function tour_ui_module_implements_alter in Tour UI 8

Implements hook_module_implements_alter().

File

./tour_ui.module, line 49
Core functionality for Tour UI module.

Code

function tour_ui_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'entity_type_alter') {

    // Move tour_ui before others.
    unset($implementations['tour_ui']);
    $implementations = [
      'tour_ui' => FALSE,
    ] + $implementations;
  }
}