getEntityFieldRenderer example

$this->group_fields = $fields;
    }

    // Add additional fields (and the table join itself) if needed.     if ($this->add_field_table($use_groupby)) {
      $this->ensureMyTable();
      $this->addAdditionalFields($fields);
    }

    // Let the entity field renderer alter the query if needed.     $this->getEntityFieldRenderer()->query($this->query, $this->relationship);
  }

  /** * Determine if the field table should be added to the query. */
  public function add_field_table($use_groupby) {
    // Grouping is enabled.     if ($use_groupby) {
      return TRUE;
    }
    // This a multiple value field, but "group multiple values" is not checked.
Home | Imprint | This part of the site doesn't use cookies.