You are here

function lightning_layout_update_8002 in Lightning Layout 8

Same name and namespace in other branches
  1. 8.2 lightning_layout.install \lightning_layout_update_8002()

Creates the layout_manager role.

File

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

Code

function lightning_layout_update_8002() {
  Config::forModule('lightning_layout')
    ->getEntity('user_role', 'layout_manager')
    ->save();
}