You are here

function layout_builder_lock_block_operations in Layout Builder Lock 8

Returns the layout builder block operations.

The key is the PHP key in the contextual link array, the value is the key in the '#links' array section of the element.

Return value

array

1 call to layout_builder_lock_block_operations()
layout_builder_lock_contextual_links_view_alter in ./layout_builder_lock.module
Implements hook_contextual_links_view_alter().

File

./layout_builder_lock.module, line 166
Layout Builder Lock module.

Code

function layout_builder_lock_block_operations() {
  return [
    'layout_builder_block_update' => 'layout-builder-block-update',
    'layout_builder_block_move' => 'layout-builder-block-move',
    'layout_builder_block_remove' => 'layout-builder-block-remove',
  ];
}