function lightning_layout_update_8007 in Lightning Layout 8
Same name and namespace in other branches
- 8.2 lightning_layout.install \lightning_layout_update_8007()
Creates Lightning Layout settings config object and installs Entity Blocks.
File
- ./
lightning_layout.install, line 98 - 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',
]);
}