public function BlockStyleInterface::exclude in Block Style Plugins 8
Exclude styles from appearing on a block.
Determine if configuration should be excluded from certain blocks when a block plugin id or block content type is passed from a plugin.
Return value
bool Return True if the current block should not get the styles.
1 method overrides BlockStyleInterface::exclude()
- BlockStyleBase::exclude in src/
Plugin/ BlockStyleBase.php - Exclude styles from appearing on a block.
File
- src/
Plugin/ BlockStyleInterface.php, line 74
Class
- BlockStyleInterface
- Defines an interface for Block style plugins.
Namespace
Drupal\block_style_plugins\PluginCode
public function exclude();