Returns a unique string identifying the form.
string The unique string identifying the form.
Overrides FormInterface::getFormID
public function getFormID() {
$entity_type = $this->entity
->entityType();
$bundle = $this->entity
->bundle();
$form_id = $entity_type;
if ($bundle != $entity_type) {
$form_id = $bundle . '_' . $form_id;
}
if ($this->operation != 'default') {
$form_id = $form_id . '_' . $this->operation;
}
return $form_id . '_form';
}