You are here

public function BlockContentBlock::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 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\Block

Code

public function defaultConfiguration() {
  return [
    'status' => TRUE,
    'info' => '',
    'view_mode' => 'full',
  ];
}