You are here

function opigno_dashboard_install in Opigno dashboard 8

Same name and namespace in other branches
  1. 3.x opigno_dashboard.install \opigno_dashboard_install()

Implements hook_install().

File

./opigno_dashboard.install, line 45
Install, update and uninstall functions for the alt_aero_log_contacts module.

Code

function opigno_dashboard_install() {
  $blocks = \Drupal::config('opigno_dashboard.settings')
    ->get('blocks');

  // Create block instances.
  \Drupal::service('opigno_dashboard.block')
    ->createBlocksInstances($blocks);
}