function NavigationSectionStorage::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.

Overrides SectionStorageLocalTaskProviderInterface::buildLocalTasks

File

core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php, line 168

Class

NavigationSectionStorage
Provides navigation section storage.

Namespace

Drupal\navigation\Plugin\SectionStorage

Code

public function buildLocalTasks($base_plugin_definition) : array {
  return [];
}

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