You are here

public function IframeUrlwidthheightWidget::formElement in Iframe 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldWidget/IframeUrlwidthheightWidget.php \Drupal\iframe\Plugin\Field\FieldWidget\IframeUrlwidthheightWidget::formElement()

It is .

Used: (1) at admin edit fields.

Used: (2) at add-story for creation content.

Overrides IframeWidgetBase::formElement

File

src/Plugin/Field/FieldWidget/IframeUrlwidthheightWidget.php, line 22

Class

IframeUrlwidthheightWidget
Plugin implementation of the 'iframe_urlwidthheigth' widget.

Namespace

Drupal\iframe\Plugin\Field\FieldWidget

Code

public function formElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state) {
  return parent::formElement($items, $delta, $element, $form, $form_state);
}