You are here

public function ExtraFieldBlock::defaultConfiguration in Drupal 10

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

File

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

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' => [],
    ],
  ];
}