public function WebformEntitySettingsBaseForm::form in Webform 8.5
Same name and namespace in other branches
- 6.x src/EntitySettings/WebformEntitySettingsBaseForm.php \Drupal\webform\EntitySettings\WebformEntitySettingsBaseForm::form()
Gets the actual form array to be built.
Overrides EntityForm::form
See also
\Drupal\Core\Entity\EntityForm::processForm()
\Drupal\Core\Entity\EntityForm::afterBuild()
6 calls to WebformEntitySettingsBaseForm::form()
- WebformEntitySettingsAccessForm::form in src/
EntitySettings/ WebformEntitySettingsAccessForm.php - Gets the actual form array to be built.
- WebformEntitySettingsAssetsForm::form in src/
EntitySettings/ WebformEntitySettingsAssetsForm.php - Gets the actual form array to be built.
- WebformEntitySettingsConfirmationForm::form in src/
EntitySettings/ WebformEntitySettingsConfirmationForm.php - Gets the actual form array to be built.
- WebformEntitySettingsFormForm::form in src/
EntitySettings/ WebformEntitySettingsFormForm.php - Gets the actual form array to be built.
- WebformEntitySettingsGeneralForm::form in src/
EntitySettings/ WebformEntitySettingsGeneralForm.php - Gets the actual form array to be built.
6 methods override WebformEntitySettingsBaseForm::form()
- WebformEntitySettingsAccessForm::form in src/
EntitySettings/ WebformEntitySettingsAccessForm.php - Gets the actual form array to be built.
- WebformEntitySettingsAssetsForm::form in src/
EntitySettings/ WebformEntitySettingsAssetsForm.php - Gets the actual form array to be built.
- WebformEntitySettingsConfirmationForm::form in src/
EntitySettings/ WebformEntitySettingsConfirmationForm.php - Gets the actual form array to be built.
- WebformEntitySettingsFormForm::form in src/
EntitySettings/ WebformEntitySettingsFormForm.php - Gets the actual form array to be built.
- WebformEntitySettingsGeneralForm::form in src/
EntitySettings/ WebformEntitySettingsGeneralForm.php - Gets the actual form array to be built.
File
- src/
EntitySettings/ WebformEntitySettingsBaseForm.php, line 19
Class
- WebformEntitySettingsBaseForm
- Base webform entity settings form.
Namespace
Drupal\webform\EntitySettingsCode
public function form(array $form, FormStateInterface $form_state) {
$default_settings = $form_state
->get('default_settings') ?: $this
->config('webform.settings')
->get('settings');
$this
->setElementDescriptionsRecursive($form, $default_settings);
return parent::form($form, $form_state);
}