You are here

public function BlockStyleBase::themeSuggestion in Block Style Plugins 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/BlockStyleBase.php \Drupal\block_style_plugins\Plugin\BlockStyleBase::themeSuggestion()

Add theme suggestions for the block.

Parameters

array $suggestions: List of theme suggestions.

array $variables: List of variables from a preprocess hook.

Return value

array List of all theme suggestions.

Overrides BlockStyleInterface::themeSuggestion

1 method overrides BlockStyleBase::themeSuggestion()
BlockStyle::themeSuggestion in src/Plugin/BlockStyle.php
Add theme suggestions for the block.

File

src/Plugin/BlockStyleBase.php, line 157

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function themeSuggestion(array $suggestions, array $variables) {
  return $suggestions;
}