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; } }
Please login to continue.