function lightning_layout_update_8001 in Lightning Layout 8
Same name and namespace in other branches
- 8.2 lightning_layout.install \lightning_layout_update_8001()
Installs Panelizer and default configuration for landing page content type.
File
- ./
lightning_layout.install, line 28 - Contains installation and update routines for Lightning Layout.
Code
function lightning_layout_update_8001() {
\Drupal::service('module_installer')
->install([
'panelizer',
]);
\Drupal::service('config.installer')
->installDefaultConfig('module', 'lightning_layout');
}