public function BlockContentBlock::defaultConfiguration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockBase::defaultConfiguration
File
- core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php, line 112 - Contains \Drupal\block_content\Plugin\Block\BlockContentBlock.
Class
- BlockContentBlock
- Defines a generic custom block type.
Namespace
Drupal\block_content\Plugin\BlockCode
public function defaultConfiguration() {
return array(
'status' => TRUE,
'info' => '',
'view_mode' => 'full',
);
}