public function NodeResourceFeedModel::valid in Services 7
Same name and namespace in other branches
- 6.3 servers/rest_server/includes/node_resource.models.inc \NodeResourceFeedModel::valid()
- 6.2 services/node_service/node_resource.models.inc \NodeResourceFeedModel::valid()
File
- services/
node_service/ node_resource.models.inc, line 30
Class
Code
public function valid() {
// It's safe to use current as there never should be a boolean
// in the node array.
return current($this->nodes) !== FALSE;
}