public function EntityReferenceBehavior_Merci::access in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
Overrides EntityReference_BehaviorHandler_Abstract::access().
Ensure that it is only enabled for ER instances on nodes targeting terms, and the core variable to maintain index is enabled.
Overrides EntityReference_BehaviorHandler_Abstract::access
File
- merci_entityref_behavior/
plugins/ behavior/ EntityReferenceBehavior_Merci.class.php, line 24 - 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 access($field, $instance) {
return true;
}