You are here

public static function IframeItem::defaultFieldSettings in Iframe 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/IframeItem.php \Drupal\iframe\Plugin\Field\FieldType\IframeItem::defaultFieldSettings()

Defines the field-level settings for this plugin.

Return value

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

Overrides FieldItemBase::defaultFieldSettings

1 call to IframeItem::defaultFieldSettings()
IframeItem::fieldSettingsForm in src/Plugin/Field/FieldType/IframeItem.php
Global field settings for iframe field.

File

src/Plugin/Field/FieldType/IframeItem.php, line 28

Class

IframeItem
Plugin implementation of the 'Iframe' field type.

Namespace

Drupal\iframe\Plugin\Field\FieldType

Code

public static function defaultFieldSettings() {
  return [
    'title' => NULL,
    'class' => NULL,
    'height' => NULL,
    'width' => NULL,
    'frameborder' => NULL,
    'scrolling' => NULL,
    'transparency' => NULL,
    'tokensupport' => NULL,
    'allowfullscreen' => NULL,
  ] + parent::defaultFieldSettings();
}