You are here

function menu_item_role_access_update_8001 in Menu Item Role Access 8

Same name and namespace in other branches
  1. 8.2 menu_item_role_access.install \menu_item_role_access_update_8001()

Install the default configuration for this module.

At this point no config exists for this module so we can safely install all of its config.

File

./menu_item_role_access.install, line 14
Installation and update hooks for the menu item role access module.

Code

function menu_item_role_access_update_8001() {

  // Since no config yet exists for this module we can install the entire config
  // directory.
  \Drupal::service('config.installer')
    ->installDefaultConfig('module', 'menu_item_role_access');
}