You are here

public function BlockContentBlock::defaultConfiguration in Zircon Profile 8

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

Code

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