You are here

public function ExtraFieldPlusDisplayBase::getDefaultFormValues 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::getDefaultFormValues()

Returns field settings form default values.

Return value

array The form values. Example: [key_1 => value_1, key_2 => value_2,...].

Overrides ExtraFieldPlusDisplayInterface::getDefaultFormValues

2 calls to ExtraFieldPlusDisplayBase::getDefaultFormValues()
ExtraFieldPlusDisplayBase::getSettings in src/Plugin/ExtraFieldPlusDisplayBase.php
Returns field settings.
ExtraFieldPlusDisplayBase::getSettingsForm in src/Plugin/ExtraFieldPlusDisplayBase.php
Returns field settings form.

File

src/Plugin/ExtraFieldPlusDisplayBase.php, line 84

Class

ExtraFieldPlusDisplayBase
Base class for Extra field Plus Display plugins.

Namespace

Drupal\extra_field_plus\Plugin

Code

public function getDefaultFormValues() {
  return $this
    ->defaultFormValues();
}