public function NodeGalleryBehaviorHandler::access in Node Gallery 7
Determine if handler should appear.
Overrides EntityReference_BehaviorHandler_Abstract::access
File
- plugins/
entityreference/ behavior/ NodeGalleryBehaviorHandler.class.php, line 13 - Node Gallery EntityReference behavior plugin.
Class
- NodeGalleryBehaviorHandler
- Node Gallery behavior handler.
Code
public function access($field, $instance) {
return $field['settings']['handler'] == 'node_gallery';
}