You are here

public function BlockStyleInterface::themeSuggestion in Block Style Plugins 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/BlockStyleInterface.php \Drupal\block_style_plugins\Plugin\BlockStyleInterface::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.

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

File

src/Plugin/BlockStyleInterface.php, line 35

Class

BlockStyleInterface
Defines an interface for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function themeSuggestion(array $suggestions, array $variables);