function BlockContentBlock::defaultConfiguration

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/block_content/src/Plugin/Block/BlockContentBlock.php, line 133

Class

BlockContentBlock
Defines a generic block type.

Namespace

Drupal\block_content\Plugin\Block

Code

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.