You are here

function dhtml_menu_enable in DHTML Menu 8

Same name and namespace in other branches
  1. 5 dhtml_menu.install \dhtml_menu_enable()
  2. 6.4 dhtml_menu.install \dhtml_menu_enable()
  3. 6 dhtml_menu.install \dhtml_menu_enable()
  4. 6.2 dhtml_menu.install \dhtml_menu_enable()
  5. 7 dhtml_menu.install \dhtml_menu_enable()

Implementation of hook_enable().

File

./dhtml_menu.install, line 37
dhtml_menu.install Installation and update functions for the DHTML Menu module.

Code

function dhtml_menu_enable() {

  // Register our theme interceptors.
  // This does not happen on its own because we have no hook_theme().
  drupal_rebuild_theme_registry();
  \Drupal::messenger()
    ->addWarning(t('<em>DHTML Menu</em> offers a wide range of customization options. If you wish to change them, please visit the <a href="@url">configuration page</a>.', array(
    '@url' => url('admin/settings/dhtml_menu'),
  )));
}