public function EntityFormController::save

Form submission handler for the 'save' action.

Parameters

array $form: An associative array containing the structure of the form.

array $form_state: A reference to a keyed array containing the current state of the form.

11 methods override EntityFormController::save()
CategoryFormController::save in drupal/core/modules/contact/lib/Drupal/contact/CategoryFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().
CommentFormController::save in drupal/core/modules/comment/lib/Drupal/comment/CommentFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().
ConfigTestFormController::save in drupal/core/modules/config/tests/config_test/lib/Drupal/config_test/ConfigTestFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().
EntityTestFormController::save in drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().
NodeFormController::save in drupal/core/modules/node/lib/Drupal/node/NodeFormController.php
Overrides Drupal\Core\Entity\EntityFormController::save().

... See full list

File

drupal/core/lib/Drupal/Core/Entity/EntityFormController.php, line 201
Definition of Drupal\Core\Entity\EntityFormController.

Class

EntityFormController
Base class for entity form controllers.

Namespace

Drupal\Core\Entity

Code

public function save(array $form, array &$form_state) {

  // @todo Perform common save operations.
}