You are here

function easy_breadcrumb_install in Easy Breadcrumb 8

Same name and namespace in other branches
  1. 2.x easy_breadcrumb.install \easy_breadcrumb_install()

Implements hook_install().

Help users get started with the module.

File

./easy_breadcrumb.install, line 127
Add installation messages to help users get started and update.

Code

function easy_breadcrumb_install() {
  $messenger = \Drupal::messenger();
  $help_url = 'https://www.drupal.org/docs/8/modules/easy-breadcrumb';
  $messenger
    ->addMessage("Easy Breadcrumb documentation is found in the help module or at {$help_url}.");

  // Clear the cache so that the breadcrumbs appear after install.
  drupal_flush_all_caches();
}