public static function EntityReference_SelectionHandler_DDF::getInstance in Dynamic dependent fields 7
Implements EntityReferenceHandler::getInstance().
Overrides EntityReference_SelectionHandler_Views::getInstance
File
- modules/
ddf_entityreference/ plugins/ selection/ EntityReference_SelectionHandler_DDF.class.php, line 28
Class
- EntityReference_SelectionHandler_DDF
- Entity handler for Views.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new EntityReference_SelectionHandler_DDF($field, $instance, $entity_type, $entity);
}