You are here

public function BlockStyleBase::getStyles in Block Style Plugins 8

Gets this plugin's style configuration.

Deprecated

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

File

src/Plugin/BlockStyleBase.php, line 301

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function getStyles() {
  @trigger_error('::getStyles() is deprecated in 8.x-1.3 and will be removed before 8.x-2.x. Instead, you should just use getConfiguration(). See https://www.drupal.org/project/block_style_plugins/issues/3016288.', E_USER_DEPRECATED);
  return $this
    ->getConfiguration();
}