You are here

public function ActivityPlugin::addField in Activity 8

1 call to ActivityPlugin::addField()
ActivityPlugin::addOrderBy in src/Plugin/views/query/ActivityPlugin.php

File

src/Plugin/views/query/ActivityPlugin.php, line 167

Class

ActivityPlugin
Activity views query plugin which display all activities.

Namespace

Drupal\activity\Plugin\views\query

Code

public function addField($table, $field, $alias = '', $params = []) {
  $this->fields[$field] = $field;
  return $field;
}