You are here

function lightning_layout_menu_local_actions_alter in Lightning Layout 8

Implements hook_menu_local_actions_alter().

File

./lightning_layout.module, line 161
Contains layout functionality for Lightning.

Code

function lightning_layout_menu_local_actions_alter(array &$local_actions) {
  foreach ($local_actions as $id => $action) {
    if ($action['id'] == 'panelizer.default.add') {
      unset($local_actions[$id]);
    }
  }
}