You are here

public function LocalTasksBlock::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
  2. 10 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

1 call to LocalTasksBlock::defaultConfiguration()
LocalTasksBlock::blockForm in core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php

File

core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php, line 74

Class

LocalTasksBlock
Provides a "Tabs" block to display the local tasks.

Namespace

Drupal\Core\Menu\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'label_display' => FALSE,
    'primary' => TRUE,
    'secondary' => TRUE,
  ];
}