public function EntityReferenceBehavior_Merci::presave in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
Act on presaving an entity reference field.
Overrides EntityReference_BehaviorHandler_Abstract::presave
See also
File
- merci_entityref_behavior/
plugins/ behavior/ EntityReferenceBehavior_Merci.class.php, line 28 - 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 presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
// merci_api_presave_reference($entity_type, $entity, $field, $instance, $langcode, $items, &$errors);
}