public function Blocks::includeDefaultBlocks in Context 8.4
Same name and namespace in other branches
- 8 src/Plugin/ContextReaction/Blocks.php \Drupal\context\Plugin\ContextReaction\Blocks::includeDefaultBlocks()
Should reaction include default blocks from Block layout.
Return value
bool TRUE if default blocks will be included, FALSE if not.
File
- src/
Plugin/ ContextReaction/ Blocks.php, line 774
Class
- Blocks
- Provides a content reaction.
Namespace
Drupal\context\Plugin\ContextReactionCode
public function includeDefaultBlocks() {
$config = $this
->getConfiguration();
return isset($config['include_default_blocks']) ? $config['include_default_blocks'] : FALSE;
}