public function LocalTasksBlock::defaultConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
- 9 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
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\BlockCode
public function defaultConfiguration() {
return [
'label_display' => FALSE,
'primary' => TRUE,
'secondary' => TRUE,
];
}