You are here

public function SectionStorageLocalTaskProviderInterface::buildLocalTasks in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface::buildLocalTasks()
  2. 10 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface::buildLocalTasks()

Provides the local tasks dynamically for Layout Builder plugins.

Parameters

mixed $base_plugin_definition: The definition of the base plugin.

Return value

array An array of full derivative definitions keyed on derivative ID.

2 methods override SectionStorageLocalTaskProviderInterface::buildLocalTasks()
OverridesSectionStorage::buildLocalTasks in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
Provides the local tasks dynamically for Layout Builder plugins.
SimpleConfigSectionStorage::buildLocalTasks in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Provides the local tasks dynamically for Layout Builder plugins.

File

core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php, line 22

Class

SectionStorageLocalTaskProviderInterface
Allows section storage plugins to provide local tasks.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

public function buildLocalTasks($base_plugin_definition);