protected function ViewsFormBase::setType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php \Drupal\views_ui\Form\Ajax\ViewsFormBase::setType()
Sets the type for this form.
Parameters
string $type: The type of the item this form is manipulating.
13 calls to ViewsFormBase::setType()
- AddHandler::getForm in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - Creates a new instance of this form.
- AddHandler::__construct in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - Constructs a new AddHandler object.
- ConfigHandler::getForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Creates a new instance of this form.
- ConfigHandler::__construct in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Constructs a new ConfigHandler object.
- ConfigHandlerExtra::getForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerExtra.php - Creates a new instance of this form.
File
- core/
modules/ views_ui/ src/ Form/ Ajax/ ViewsFormBase.php, line 60 - Contains \Drupal\views_ui\Form\Ajax\ViewsFormBase.
Class
- ViewsFormBase
- Provides a base class for Views UI AJAX forms.
Namespace
Drupal\views_ui\Form\AjaxCode
protected function setType($type) {
if ($type) {
$this->type = $type;
}
}