You are here

public function FieldMenuBlock::defaultConfiguration in Menu item content fields 8

Overrides SystemMenuBlock::defaultConfiguration

File

src/Plugin/Block/FieldMenuBlock.php, line 24

Class

FieldMenuBlock
Provides a drupal menu that uses display view modes.

Namespace

Drupal\menu_item_fields\Plugin\Block

Code

public function defaultConfiguration() {
  $defaultConfiguration = parent::defaultConfiguration() + [
    'view_mode' => 'default',
    'view_mode_override_field' => '_none',
  ];
  return $defaultConfiguration;
}