function image_gallery_handler_field_gallery_count::query in Image 7
Same name and namespace in other branches
- 6 contrib/image_gallery/views/image_gallery_handler_field_gallery_count.inc \image_gallery_handler_field_gallery_count::query()
Override query() so we don't query: fake field.
Overrides views_handler_field::query
File
- contrib/
image_gallery/ views/ image_gallery_handler_field_gallery_count.inc, line 13
Class
- image_gallery_handler_field_gallery_count
- Views handler for Image gallery count field. This counts all the nodes in the gallery, including descendant galleries, using taxonomy.module's taxonomy_term_count_nodes.
Code
function query() {
$this
->ensure_my_table();
$this
->add_additional_fields();
}