function EntityForm::save
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::save()
- 10 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::save()
- 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::save()
9 methods override EntityForm::save()
- CommentForm::save in core/
modules/ comment/ src/ CommentForm.php - Form submission handler for the 'save' action.
- DefaultsEntityForm::save in core/
modules/ layout_builder/ src/ Form/ DefaultsEntityForm.php - Form submission handler for the 'save' action.
- LanguageAddForm::save in core/
modules/ language/ src/ Form/ LanguageAddForm.php - Form submission handler for the 'save' action.
- LanguageEditForm::save in core/
modules/ language/ src/ Form/ LanguageEditForm.php - Form submission handler for the 'save' action.
- MediaForm::save in core/
modules/ media/ src/ MediaForm.php - Form submission handler for the 'save' action.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityForm.php, line 284
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
public function save(array $form, FormStateInterface $form_state) {
return $this->entity
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.