You are here

public function fieldable_panels_panes_handler_field_is_current::query in Fieldable Panels Panes (FPP) 7

Called to add the field to a query.

Overrides views_handler_field::query

File

plugins/views/fieldable_panels_panes_handler_field_is_current.inc, line 79
Provide views handlers for fieldable panel panes.

Class

fieldable_panels_panes_handler_field_is_current
Field handler to display if the revision is current or not.

Code

public function query() {
  $this
    ->ensure_my_table();

  // This isn't a real field, but we put it there nonetheless.
  $this->field_alias = $this->table_alias . '_is_current';
  $this
    ->add_additional_fields();
}