You are here

public function EntityRestrictedField::getFormDisplayDefinition in Organic groups 8

Get the field's form display definition.

Parameters

array $values: Values to override the base definitions.

Return value

array Array that will be used as the base values for FieldConfig::create().

Overrides OgFieldsInterface::getFormDisplayDefinition

File

tests/modules/og_test/src/Plugin/OgFields/EntityRestrictedField.php, line 37

Class

EntityRestrictedField
A test field that can be attached only to the node entity.

Namespace

Drupal\og_test\Plugin\OgFields

Code

public function getFormDisplayDefinition(array $values = []) {
  return [];
}