ViewsFormBase::setID

protected ViewsFormBase::setID($id)

Sets the ID for this form.

Parameters

string $id: The ID of the item this form is manipulating.

File

core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 47

Class

ViewsFormBase
Provides a base class for Views UI AJAX forms.

Namespace

Drupal\views_ui\Form\Ajax

Code

protected function setID($id) {
  if ($id) {
    $this->id = $id;
  }
}
doc_Drupal
2016-10-29 09:55:19
Comments
Leave a Comment

Please login to continue.