You are here

public function Blocks::includeDefaultBlocks in Context 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::includeDefaultBlocks()

Should reaction include default blocks from Block layout.

Return value

bool

File

src/Plugin/ContextReaction/Blocks.php, line 666

Class

Blocks
Provides a content reaction that will let you place blocks in the current themes regions.

Namespace

Drupal\context\Plugin\ContextReaction

Code

public function includeDefaultBlocks() {
  $config = $this
    ->getConfiguration();
  return isset($config['include_default_blocks']) ? $config['include_default_blocks'] : FALSE;
}