public function EntityReference_SelectionHandler::validateReferencableEntities in Entity reference 7
Validate that entities can be referenced by this field.
Return value
An array of entity ids that are valid.
3 methods override EntityReference_SelectionHandler::validateReferencableEntities()
- EntityReference_SelectionHandler_Broken::validateReferencableEntities in plugins/
selection/ abstract.inc - Validate that entities can be referenced by this field.
- EntityReference_SelectionHandler_Generic::validateReferencableEntities in plugins/
selection/ EntityReference_SelectionHandler_Generic.class.php - Implements EntityReferenceHandler::validateReferencableEntities().
- EntityReference_SelectionHandler_Views::validateReferencableEntities in plugins/
selection/ EntityReference_SelectionHandler_Views.class.php - Validate that entities can be referenced by this field.
File
- plugins/
selection/ abstract.inc, line 41 - Abstraction of the selection logic of an entity reference field.
Class
- EntityReference_SelectionHandler
- @file Abstraction of the selection logic of an entity reference field.
Code
public function validateReferencableEntities(array $ids);