You are here

public function SimpleClass::defaultConfiguration in Block Style Plugins 8

Same name and namespace in other branches
  1. 8.2 tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/SimpleClass.php \Drupal\block_style_plugins_test\Plugin\BlockStyle\SimpleClass::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockStyleBase::defaultConfiguration

File

tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/SimpleClass.php, line 21

Class

SimpleClass
Provides a 'SimpleClass' block style for adding a class in a text field.

Namespace

Drupal\block_style_plugins_test\Plugin\BlockStyle

Code

public function defaultConfiguration() {
  return [
    'simple_class' => '',
  ];
}