public function WebformSubmissionForm::getBaseFormId in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::getBaseFormId()
Returns a string identifying the base form.
Return value
string|null The string identifying the base form or NULL if this is not a base form.
Overrides EntityForm::getBaseFormId
File
- src/
WebformSubmissionForm.php, line 224
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
public function getBaseFormId() {
$base_form_id = $this->entity
->getEntityTypeId();
$base_form_id .= '_' . $this->entity
->bundle();
return $base_form_id . '_form';
}