public function AccessField::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
- src/
Plugin/ OgFields/ AccessField.php, line 64
Class
- AccessField
- Determine if group should use default roles and permissions.
Namespace
Drupal\og\Plugin\OgFieldsCode
public function getFormDisplayDefinition(array $values = []) {
$values += [
'type' => 'options_select',
'settings' => [],
];
return $values;
}