protected BlockBase::baseConfigurationDefaults()
Returns generic default configuration for block plugins.
array An associative array with the default configuration.
protected function baseConfigurationDefaults() { return array( 'id' => $this->getPluginId(), 'label' => '', 'provider' => $this->pluginDefinition['provider'], 'label_display' => BlockInterface::BLOCK_LABEL_VISIBLE, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Block!BlockBase.php/function/BlockBase::baseConfigurationDefaults/8.1.x