You are here

public property IframeWidgetBase::$allowedAttributes in Iframe 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/IframeWidgetBase.php \Drupal\iframe\Plugin\Field\FieldWidget\IframeWidgetBase::allowedAttributes

Allowed editable attributes of iframe field on node-edit.

Type: array

File

src/Plugin/Field/FieldWidget/IframeWidgetBase.php, line 20

Class

IframeWidgetBase
Plugin implementation base functions.

Namespace

Drupal\iframe\Plugin\Field\FieldWidget

Code

public $allowedAttributes = [
  'title' => 1,
  'width' => 1,
  'height' => 1,
  'url' => 1,
];