public function LocalTasksBlock::defaultConfiguration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockBase::defaultConfiguration
1 call to LocalTasksBlock::defaultConfiguration()
- LocalTasksBlock::blockForm in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalTasksBlock.php - Returns the configuration form elements specific to this block plugin.
File
- core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalTasksBlock.php, line 79 - Contains \Drupal\Core\Menu\Plugin\Block\LocalTasksBlock.
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,
];
}