function views_handler_field::query
Called to add the field to a query.
1 call to views_handler_field::query()
- views_handler_field_history_user_timestamp::query in modules/
node/ views_handler_field_history_user_timestamp.inc - Called to add the field to a query.
22 methods override views_handler_field::query()
- views_handler_field_broken::query in handlers/
views_handler_field.inc - Called to add the field to a query.
- views_handler_field_counter::query in handlers/
views_handler_field_counter.inc - Called to add the field to a query.
- views_handler_field_custom::query in handlers/
views_handler_field_custom.inc - Called to add the field to a query.
- views_handler_field_entity::query in handlers/
views_handler_field_entity.inc - Overriden to add the field for the entity id.
- views_handler_field_field::query in modules/
field/ views_handler_field_field.inc - Called to add the field to a query.
File
-
handlers/
views_handler_field.inc, line 119
Class
- views_handler_field
- Base field handler that has no options and renders an unformatted field.
Code
public function query() {
$this->ensure_my_table();
// Add the field.
$params = $this->options['group_type'] != 'group' ? array(
'function' => $this->options['group_type'],
) : array();
$this->field_alias = $this->query
->add_field($this->table_alias, $this->real_field, NULL, $params);
$this->add_additional_fields();
}