Commit 79cbe797 authored by webchick's avatar webchick

Issue #2001318 by Dan Reinders, chertzog: Rename Views method...

Issue #2001318 by Dan Reinders, chertzog: Rename Views method add_additional_fields() to addAdditionalFields().
parent 1187f773
......@@ -53,7 +53,7 @@ public function buildOptionsForm(&$form, &$form_state) {
public function query() {
$this->ensureMyTable();
$this->add_additional_fields();
$this->addAdditionalFields();
$this->field_alias = $this->table . '_' . $this->field;
}
......
......@@ -187,7 +187,7 @@ public function query($use_groupby = FALSE) {
// Add additional fields (and the table join itself) if needed.
if ($this->add_field_table($use_groupby)) {
$this->ensureMyTable();
$this->add_additional_fields($fields);
$this->addAdditionalFields($fields);
// Filter by langcode, if field translation is enabled.
$field = $this->field_info;
......
......@@ -42,7 +42,7 @@ public function buildOptionsForm(&$form, &$form_state) {
* {@inheritdoc}
*/
public function query() {
$this->add_additional_fields();
$this->addAdditionalFields();
}
function render($values) {
......
......@@ -50,7 +50,7 @@ public function buildOptionsForm(&$form, &$form_state) {
public function query() {
$this->ensureMyTable();
$this->add_additional_fields();
$this->addAdditionalFields();
}
function render($values) {
......
......@@ -50,7 +50,7 @@ public function buildOptionsForm(&$form, &$form_state) {
public function query() {
$this->ensureMyTable();
$this->add_additional_fields();
$this->addAdditionalFields();
}
function render($values) {
......
......@@ -88,7 +88,7 @@ public function buildOptionsForm(&$form, &$form_state) {
* Add this term to the query
*/
public function query() {
$this->add_additional_fields();
$this->addAdditionalFields();
}
function pre_render(&$values) {
......
......@@ -53,7 +53,7 @@ public function access() {
public function query() {
$this->ensureMyTable();
$this->add_additional_fields();
$this->addAdditionalFields();
}
/**
......
......@@ -31,7 +31,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
}
public function query() {
$this->add_additional_fields();
$this->addAdditionalFields();
$this->field_alias = $this->aliases['uid'];
}
......
......@@ -31,7 +31,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o
}
public function query() {
$this->add_additional_fields();
$this->addAdditionalFields();
$this->field_alias = $this->aliases['uid'];
}
......
......@@ -102,7 +102,7 @@ public function query() {
$params = $this->options['group_type'] != 'group' ? array('function' => $this->options['group_type']) : array();
$this->field_alias = $this->query->add_field($this->tableAlias, $this->realField, NULL, $params);
$this->add_additional_fields();
$this->addAdditionalFields();
}
/**
......@@ -115,7 +115,7 @@ public function query() {
* form of
* @code array('table' => $tablename, 'field' => $fieldname) @endcode
*/
function add_additional_fields($fields = NULL) {
protected function addAdditionalFields($fields = NULL) {
if (!isset($fields)) {
// notice check
if (empty($this->additional_fields)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment