function 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.
3 methods override SectionStorageLocalTaskProviderInterface::buildLocalTasks()
- NavigationSectionStorage::buildLocalTasks in core/
modules/ navigation/ src/ Plugin/ SectionStorage/ NavigationSectionStorage.php  - Provides the local tasks dynamically for Layout Builder plugins.
 - 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\SectionStorageCode
public function buildLocalTasks($base_plugin_definition);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.