function SectionStorageLocalTaskProviderInterface::buildLocalTasks

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.