function lightning_layout_update_8003 in Lightning Layout 8
Same name and namespace in other branches
- 8.2 lightning_layout.install \lightning_layout_update_8003()
Adds Panelizer permissions to layout_manager role.
2 calls to lightning_layout_update_8003()
- lightning_layout_install in ./
lightning_layout.install - Implements hook_install().
- lightning_layout_update_8006 in ./
lightning_layout.install - Removes administrative privileges from layout_manager role.
File
- ./
lightning_layout.install, line 45 - Contains installation and update routines for Lightning Layout.
Code
function lightning_layout_update_8003() {
$node_types = NodeType::loadMultiple();
array_walk($node_types, 'lightning_layout_node_type_insert');
}