You are here

public function BlockStyleBase::defaultConfiguration in Block Style Plugins 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/BlockStyleBase.php \Drupal\block_style_plugins\Plugin\BlockStyleBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

2 calls to BlockStyleBase::defaultConfiguration()
BlockStyle::defaultConfiguration in src/Plugin/BlockStyle.php
Gets default configuration for this plugin.
BlockStyleBase::setConfiguration in src/Plugin/BlockStyleBase.php
Sets the configuration for this plugin instance.
5 methods override BlockStyleBase::defaultConfiguration()
BlockStyle::defaultConfiguration in src/Plugin/BlockStyle.php
Gets default configuration for this plugin.
CheckboxWithExclude::defaultConfiguration in tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/CheckboxWithExclude.php
Gets default configuration for this plugin.
DropdownWithInclude::defaultConfiguration in tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/DropdownWithInclude.php
Gets default configuration for this plugin.
MockBlockStyleBase::defaultConfiguration in tests/src/Unit/Plugin/MockBlockStyleBase.php
Gets default configuration for this plugin.
SimpleClass::defaultConfiguration in tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/SimpleClass.php
Gets default configuration for this plugin.

File

src/Plugin/BlockStyleBase.php, line 133

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function defaultConfiguration() {
  return [];
}