protected function ViewsFormBase::setID in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php \Drupal\views_ui\Form\Ajax\ViewsFormBase::setID()
Sets the ID for this form.
Parameters
string $id: The ID of the item this form is manipulating.
6 calls to ViewsFormBase::setID()
- 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.
- ConfigHandlerExtra::__construct in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerExtra.php - Constructs a new ConfigHandlerExtra object.
- ConfigHandlerGroup::getForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandlerGroup.php - Creates a new instance of this form.
File
- core/
modules/ views_ui/ src/ Form/ Ajax/ ViewsFormBase.php, line 48
Class
- ViewsFormBase
- Provides a base class for Views UI AJAX forms.
Namespace
Drupal\views_ui\Form\AjaxCode
protected function setID($id) {
if ($id) {
$this->id = $id;
}
}