public function EntityFormController::delete

Form submission handler for the 'delete' 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.

12 methods override EntityFormController::delete()
CategoryFormController::delete in drupal/core/modules/contact/lib/Drupal/contact/CategoryFormController.php
Overrides Drupal\Core\Entity\EntityFormController::delete().
ConfigTestFormController::delete in drupal/core/modules/config/tests/config_test/lib/Drupal/config_test/ConfigTestFormController.php
Overrides Drupal\Core\Entity\EntityFormController::delete().
CustomBlockFormController::delete in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php
Overrides \Drupal\Core\Entity\EntityFormController::delete().
CustomBlockTypeFormController::delete in drupal/core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockTypeFormController.php
Overrides \Drupal\Core\Entity\EntityFormController::delete().
EntityTestFormController::delete in drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestFormController.php
Overrides Drupal\Core\Entity\EntityFormController::delete().

... See full list

File

drupal/core/lib/Drupal/Core/Entity/EntityFormController.php, line 303
Contains \Drupal\Core\Entity\EntityFormController.

Class

EntityFormController
Base class for entity form controllers.

Namespace

Drupal\Core\Entity

Code

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

  // @todo Perform common delete operations.
}