public static function NodeGallerySelectionHandler::getInstance in Node Gallery 7
Implements EntityReferenceHandler::getInstance().
Overrides EntityReference_SelectionHandler_Generic::getInstance
File
- plugins/
entityreference/ selection/ NodeGallerySelectionHandler.class.php, line 16 - Node Gallery EntityReference selection plugin.
Class
- NodeGallerySelectionHandler
- Node Gallery API selection handler.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new NodeGallerySelectionHandler($field, $instance, $entity_type, $entity);
}