You are here

protected function ExtraFieldPlusDisplayBase::defaultFormValues in Extra Field Settings Provider 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ExtraFieldPlusDisplayBase.php \Drupal\extra_field_plus\Plugin\ExtraFieldPlusDisplayBase::defaultFormValues()

Provides field settings form default values.

Return value

array The form values.

3 calls to ExtraFieldPlusDisplayBase::defaultFormValues()
ExampleNodeLabel::defaultFormValues in modules/extra_field_plus_example/src/Plugin/ExtraField/Display/ExampleNodeLabel.php
Provides field settings form default values.
ExampleNodeLabelFormatted::defaultFormValues in modules/extra_field_plus_example/src/Plugin/ExtraField/Display/ExampleNodeLabelFormatted.php
Provides field settings form default values.
ExtraFieldPlusDisplayBase::getDefaultFormValues in src/Plugin/ExtraFieldPlusDisplayBase.php
Returns field settings form default values.
2 methods override ExtraFieldPlusDisplayBase::defaultFormValues()
ExampleNodeLabel::defaultFormValues in modules/extra_field_plus_example/src/Plugin/ExtraField/Display/ExampleNodeLabel.php
Provides field settings form default values.
ExampleNodeLabelFormatted::defaultFormValues in modules/extra_field_plus_example/src/Plugin/ExtraField/Display/ExampleNodeLabelFormatted.php
Provides field settings form default values.

File

src/Plugin/ExtraFieldPlusDisplayBase.php, line 77

Class

ExtraFieldPlusDisplayBase
Base class for Extra field Plus Display plugins.

Namespace

Drupal\extra_field_plus\Plugin

Code

protected function defaultFormValues() {
  return [];
}