You are here

public function EntityqueueDragtableWidget::setWrapperId in Entityqueue 8

Sets the unique HTML ID of the widget's wrapping element.

Parameters

string $wrapperId: The unique HTML ID.

1 call to EntityqueueDragtableWidget::setWrapperId()
EntityqueueDragtableWidget::formMultipleElements in src/Plugin/Field/FieldWidget/EntityqueueDragtableWidget.php
Special handling to create form elements for multiple values.

File

src/Plugin/Field/FieldWidget/EntityqueueDragtableWidget.php, line 355

Class

EntityqueueDragtableWidget
Plugin implementation of the 'entityqueue_dragtable' widget.

Namespace

Drupal\entityqueue\Plugin\Field\FieldWidget

Code

public function setWrapperId($wrapperId) {
  if (!$this->wrapperId) {
    $this->wrapperId = $wrapperId;
  }
}