protected BlockBase::baseConfigurationDefaults()
Returns generic default configuration for block plugins.
Return value
array An associative array with the default configuration.
File
- core/lib/Drupal/Core/Block/BlockBase.php, line 85
 
Class
- BlockBase
 - Defines a base block implementation that most blocks plugins will extend.
 
Namespace
Drupal\Core\Block
Code
protected function baseConfigurationDefaults() {
  return array(
    'id' => $this->getPluginId(),
    'label' => '',
    'provider' => $this->pluginDefinition['provider'],
    'label_display' => BlockInterface::BLOCK_LABEL_VISIBLE,
  );
}
Please login to continue.