function eck__entity__delete in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.entity.inc \eck__entity__delete()
- 7.2 eck.entity.inc \eck__entity__delete()
Callback function for the delete functionality
Parameters
$form: Form array provided by the Form API
$form_state: array provided by the Form API
$entity_type: (String) entity type
$bundle: (String) Bundle
$id: (int) the Id of the entity to be deleted
File
- ./
eck.entity.inc, line 241 - All the menus, pages, and functionality related to administering entities.
Code
function eck__entity__delete($entity_type, $bundle, $id) {
return drupal_get_form('eck__entity__delete_form', $entity_type, $bundle, $id);
}