public static function PbfFieldWidget::defaultSettings in Permissions by field 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides EntityReferenceAutocompleteWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ PbfFieldWidget.php, line 97
Class
- PbfFieldWidget
- Plugin implementation of the 'pbf_field_widget' widget.
Namespace
Drupal\pbf\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return array(
'grant_global' => 0,
'grant_public' => 1,
'grant_view' => 0,
'grant_update' => 0,
'grant_delete' => 0,
) + parent::defaultSettings();
}