You are here

public function EntityInlineEntityFormController::delete in Inline Entity Form 7

Delete permanently saved entities.

Parameters

$ids: An array of entity IDs.

array $context: Available keys:

  • parent_entity_type: The type of the parent entity.
  • parent_entity: The parent entity.
1 method overrides EntityInlineEntityFormController::delete()
CommerceProductInlineEntityFormController::delete in includes/commerce_product.inline_entity_form.inc
Overrides EntityInlineEntityFormController::delete().

File

includes/entity.inline_entity_form.inc, line 447
Defines the base inline entity form controller.

Class

EntityInlineEntityFormController
@file Defines the base inline entity form controller.

Code

public function delete($ids, $context) {
  entity_delete_multiple($this->entityType, $ids);
}