protected function BlockBase::baseConfigurationDefaults in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Block/BlockBase.php \Drupal\Core\Block\BlockBase::baseConfigurationDefaults()
Returns generic default configuration for block plugins.
Return value
array An associative array with the default configuration.
1 call to BlockBase::baseConfigurationDefaults()
- BlockBase::setConfiguration in core/
lib/ Drupal/ Core/ Block/ BlockBase.php - Sets the configuration for this plugin instance.
File
- core/
lib/ Drupal/ Core/ Block/ BlockBase.php, line 87 - Contains \Drupal\Core\Block\BlockBase.
Class
- BlockBase
- Defines a base block implementation that most blocks plugins will extend.
Namespace
Drupal\Core\BlockCode
protected function baseConfigurationDefaults() {
return array(
'id' => $this
->getPluginId(),
'label' => '',
'provider' => $this->pluginDefinition['provider'],
'label_display' => BlockInterface::BLOCK_LABEL_VISIBLE,
);
}