You are here

public function ViewsForm::getBaseFormId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Form/ViewsForm.php \Drupal\views\Form\ViewsForm::getBaseFormId()
  2. 9 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.

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);
}