public function SectionStorageLocalTaskProviderInterface::buildLocalTasks in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageLocalTaskProviderInterface.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageLocalTaskProviderInterface::buildLocalTasks()
- 9 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.
1 method overrides SectionStorageLocalTaskProviderInterface::buildLocalTasks()
- 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\SectionStorageCode
public function buildLocalTasks($base_plugin_definition);