function entityreference_query_entityreference_alter in Entity reference 7
Same name and namespace in other branches
- 8 entityreference.module \entityreference_query_entityreference_alter()
Implements hook_query_TAG_alter().
File
- ./
entityreference.module, line 832 - Entityreference primary module file.
Code
function entityreference_query_entityreference_alter(QueryAlterableInterface $query) {
$handler = $query
->getMetadata('entityreference_selection_handler');
$handler
->entityFieldQueryAlter($query);
}