public function OgFieldsInterface::getViewDisplayDefinition in Organic groups 8
Get the field's view modes 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().
3 methods override OgFieldsInterface::getViewDisplayDefinition()
- AccessField::getViewDisplayDefinition in src/
Plugin/ OgFields/ AccessField.php - Get the field's view modes definition.
- AudienceField::getViewDisplayDefinition in src/
Plugin/ OgFields/ AudienceField.php - Get the field's view modes definition.
- EntityRestrictedField::getViewDisplayDefinition in tests/
modules/ og_test/ src/ Plugin/ OgFields/ EntityRestrictedField.php - Get the field's view modes definition.
File
- src/
OgFieldsInterface.php, line 121
Class
- OgFieldsInterface
- The OG fields related interface.
Namespace
Drupal\ogCode
public function getViewDisplayDefinition(array $values = []);