You are here

public function MockBlockStyleBase::defaultConfiguration in Block Style Plugins 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/Plugin/MockBlockStyleBase.php \Drupal\Tests\block_style_plugins\Unit\Plugin\MockBlockStyleBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockStyleBase::defaultConfiguration

File

tests/src/Unit/Plugin/MockBlockStyleBase.php, line 20

Class

MockBlockStyleBase
Class MockBlockStyleBase.

Namespace

Drupal\Tests\block_style_plugins\Unit\Plugin

Code

public function defaultConfiguration() {
  return [
    'sample_class' => '',
    'sample_checkbox' => FALSE,
  ];
}