public function BlockStyleInterface::themeSuggestion in Block Style Plugins 8
Same name and namespace in other branches
- 8.2 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 98
Class
- BlockStyleInterface
- Defines an interface for Block style plugins.
Namespace
Drupal\block_style_plugins\PluginCode
public function themeSuggestion(array $suggestions, array $variables);