You are here

public function ExtraFieldBlock::defaultConfiguration in Drupal 8

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()

Overrides BlockPluginTrait::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,
  ];
}