function ExtraFieldBlock::defaultConfiguration

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php \Drupal\layout_builder\Plugin\Block\ExtraFieldBlock::defaultConfiguration()
  2. 8.9.x core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php \Drupal\layout_builder\Plugin\Block\ExtraFieldBlock::defaultConfiguration()
  3. 10 core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php \Drupal\layout_builder\Plugin\Block\ExtraFieldBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php, line 86

Class

ExtraFieldBlock
Provides a block that renders an extra field from an entity.

Namespace

Drupal\layout_builder\Plugin\Block

Code

public function defaultConfiguration() {
    return [
        'label_display' => FALSE,
        'formatter' => [
            'settings' => [],
            'third_party_settings' => [],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.