function BlockContentBlock::defaultConfiguration
Same name in other branches
- 8.9.x core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::defaultConfiguration()
- 10 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::defaultConfiguration()
- 11.x core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
-
core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php, line 131
Class
- BlockContentBlock
- Defines a generic custom block type.
Namespace
Drupal\block_content\Plugin\BlockCode
public function defaultConfiguration() {
return [
'status' => TRUE,
'info' => '',
'view_mode' => 'full',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.