You are here

public function ViewsForm::getFormId in Zircon Profile 8

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

Returns a unique string identifying the form.

Return value

string The unique string identifying the form.

Overrides FormInterface::getFormId

File

core/modules/views/src/Form/ViewsForm.php, line 106
Contains \Drupal\views\Form\ViewsForm.

Class

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

Namespace

Drupal\views\Form

Code

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