ViewsFormBase::setType

protected ViewsFormBase::setType($type)

Sets the type for this form.

Parameters

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

File

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

Class

ViewsFormBase
Provides a base class for Views UI AJAX forms.

Namespace

Drupal\views_ui\Form\Ajax

Code

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

Please login to continue.