You are here

public function BlockStyleBase::defaultStyles in Block Style Plugins 8

Gets default style configuration for this plugin.

Deprecated

in 8.x-1.3 and will be removed before 8.x-2.x. Instead, you should just use defaultConfiguration().

1 call to BlockStyleBase::defaultStyles()
BlockStyleBase::setConfiguration in src/Plugin/BlockStyleBase.php
Sets the configuration for this plugin instance.

File

src/Plugin/BlockStyleBase.php, line 291

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function defaultStyles() {
  return $this
    ->defaultConfiguration();
}