You are here

private function Builder::contextualLinks in GridStack 8.2

Returns regular contextual links.

1 call to Builder::contextualLinks()
Builder::lb in src/Plugin/gridstack/stylizer/Builder.php
Provides Layout Builder attributes.

File

src/Plugin/gridstack/stylizer/Builder.php, line 187

Class

Builder
Provides Layout Builder integration for editor previews.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

private function contextualLinks(array $params) {
  return [
    'layout_builder_block' => [
      'route_parameters' => $params,
      'metadata' => [
        'operations' => 'move:update:remove',
      ],
    ],
  ];
}