You are here

public function EntityReferenceBehavior_Merci::insert in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Act before inserting an entity reference field.

Overrides EntityReference_BehaviorHandler_Abstract::insert

See also

hook_field_insert()

File

merci_entityref_behavior/plugins/behavior/EntityReferenceBehavior_Merci.class.php, line 31
CTools plugin class for the taxonomy-index behavior.

Class

EntityReferenceBehavior_Merci
Extends an entityreference field to maintain its references to taxonomy terms in the {taxonomy_index} table.

Code

public function insert($entity_type, $entity, $field, $instance, $langcode, &$items) {

  //merci_api_insert_reference($entity_type, $entity, $field, $instance, $langcode, $items, &$errors);
}