You are here

public function ViewsForm::getBaseFormId in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Form/ViewsForm.php \Drupal\views\Form\ViewsForm::getBaseFormId()

Returns a string for the form's base ID.

Return value

string The string identifying the form's base ID.

2 calls to ViewsForm::getBaseFormId()
ViewsForm::buildForm in core/modules/views/src/Form/ViewsForm.php
Form constructor.
ViewsForm::getFormId in core/modules/views/src/Form/ViewsForm.php
Returns a unique string identifying the form.

File

core/modules/views/src/Form/ViewsForm.php, line 115

Class

ViewsForm
Provides a base class for single- or multistep view forms.

Namespace

Drupal\views\Form

Code

public function getBaseFormId() {
  $parts = [
    'views_form',
    $this->viewId,
    $this->viewDisplayId,
  ];
  return implode('_', $parts);
}