You are here

public static function SimpleIframeFieldType::defaultFieldSettings in Simple iframe 8

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultFieldSettings

File

src/Plugin/Field/FieldType/SimpleIframeFieldType.php, line 29

Class

SimpleIframeFieldType
Plugin implementation of the 'simple_iframe_field_type' field type.

Namespace

Drupal\simple_iframe\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'width' => '100%',
    'height' => '',
  ] + parent::defaultFieldSettings();
}