You are here

function lightning_layout_update_8007 in Lightning Layout 8.2

Same name and namespace in other branches
  1. 8 lightning_layout.install \lightning_layout_update_8007()

Creates Lightning Layout settings config object and installs Entity Blocks.

File

./lightning_layout.install, line 95
Contains installation and update routines for Lightning Layout.

Code

function lightning_layout_update_8007() {
  Config::forModule('lightning_layout')
    ->get('lightning_layout.settings')
    ->save();
  \Drupal::service('module_installer')
    ->install([
    'entity_block',
  ]);
}