You are here

public function DropdownWithInclude::defaultConfiguration in Block Style Plugins 8.2

Same name and namespace in other branches
  1. 8 tests/modules/block_style_plugins_test/src/Plugin/BlockStyle/DropdownWithInclude.php \Drupal\block_style_plugins_test\Plugin\BlockStyle\DropdownWithInclude::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/DropdownWithInclude.php, line 28

Class

DropdownWithInclude
Demonstrate using the 'include' parameter.

Namespace

Drupal\block_style_plugins_test\Plugin\BlockStyle

Code

public function defaultConfiguration() {

  // Default this to the third option.
  return [
    'dropdown_class' => 'style-3',
  ];
}