You are here

public function BlockStyleInterface::includeOnly in Block Style Plugins 8

Only show styles on specific blocks.

Determine if configuration should be only included on 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 only get the styles.

1 method overrides BlockStyleInterface::includeOnly()
BlockStyleBase::includeOnly in src/Plugin/BlockStyleBase.php
Only show styles on specific blocks.

File

src/Plugin/BlockStyleInterface.php, line 85

Class

BlockStyleInterface
Defines an interface for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function includeOnly();