You are here

public static function Pbf::defaultFieldSettings in Permissions by field 8

Defines the field-level settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides EntityReferenceItem::defaultFieldSettings

File

src/Plugin/Field/FieldType/Pbf.php, line 58

Class

Pbf
Plugin implementation of the 'pbf' field type.

Namespace

Drupal\pbf\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return array(
    'priority' => 0,
    'user_method' => 'user',
    'synchronized_with' => '',
    'synchronized_from_target' => 0,
    'synchronized_by' => '',
  ) + parent::defaultFieldSettings();
}