function LocalTasksBlock::defaultConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
  2. 8.9.x core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
  3. 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 76

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,
    ];
}

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