diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php index 1e12304ed1b041713f4354695b44619f0d419deb..6ca954082fd56223a7ea1c1ed3ab85ecff33c9fd 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/Comment.php @@ -22,6 +22,13 @@ */ class Comment extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + /** * Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::init(). * diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php index 3e36dfff2c234f37c9a5420fb68d962f932e9273..edaaa006fc318136539f6e3ae05f903ab4d8b676 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NodeNewComments.php @@ -24,6 +24,13 @@ */ class NodeNewComments extends Numeric { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + /** * Database Service Object. * diff --git a/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php b/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php index ec7a3a6011c834b50357d9e944774e76fb02574a..3a14cb14f54749a0b47b70eddfbd7c3c9d0c2692 100644 --- a/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php +++ b/core/modules/contextual/lib/Drupal/contextual/Plugin/views/field/ContextualLinks.php @@ -20,6 +20,13 @@ */ class ContextualLinks extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + protected function defineOptions() { $options = parent::defineOptions(); diff --git a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php index 91db271ba342dad6554d10434bc9ebe61d042a0a..047e5f0f1217ff285a4d666007f19a223b69a602 100644 --- a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php +++ b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php @@ -25,6 +25,13 @@ */ class HistoryUserTimestamp extends Node { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + /** * Overrides \Drupal\node\Plugin\views\field\Node::init(). */ diff --git a/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php b/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php index 20eaac4d48e17351abac57a6a6adfa2f0a76e86f..e89f4916f65503c276eb4675a74fe6eef7f5cd6f 100644 --- a/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php +++ b/core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php @@ -25,6 +25,13 @@ class HistoryUserTimestamp extends FilterPluginBase { // Don't display empty space where the operator would be. var $no_operator = TRUE; + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + public function buildExposeForm(&$form, &$form_state) { parent::buildExposeForm($form, $form_state); // @todo There are better ways of excluding required and multiple (object flags) diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php index 4ab3c856f43a51a83124b4ef6b3a6abf045b4381..fb8b72a913027f5f8c1f46f48acfb0695fbf9a04 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php @@ -20,6 +20,13 @@ */ class Link extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + protected function defineOptions() { $options = parent::defineOptions(); $options['text'] = array('default' => '', 'translatable' => TRUE); diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php index b13f388f3d35cfd5d6fdd2a55f2541a6b30de5f5..88102b88fefcf378110fa5990e7cf0c5c9b285e1 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php @@ -23,6 +23,13 @@ */ class Link extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + /** * Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init(). */ diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php index 50e47e2ab3df37f86841bdd4a915f0eca68761b0..daef3617c45f19d626635fe2060e96a8a55fecec 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Counter.php @@ -19,6 +19,14 @@ */ class Counter extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + + protected function defineOptions() { $options = parent::defineOptions(); $options['counter_start'] = array('default' => 1); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php index d1a9dd6834a5fbbf7a15ad3e10cdcae4d945d521..7a779d3eabed1bd90447323af9c51ee531774015 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php @@ -19,6 +19,13 @@ */ class Custom extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + public function query() { // do nothing -- to override the parent query. } diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/Links.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/Links.php index 4543e98506bf0591dfe64e105bfaab861d7b111e..f466bc601843cf0180eb8b1b80e1468b1fbff558 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/Links.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/Links.php @@ -14,6 +14,13 @@ */ abstract class Links extends FieldPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + /** * Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::defineOptions(). */ diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php index aa3fa8dcadd87e875ad58e0258f44d22248d2452..8e1eca182a240289824fbba0f661746348486e1e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/sort/Random.php @@ -16,6 +16,13 @@ */ class Random extends SortPluginBase { + /** + * {@inheritdoc} + */ + public function usesGroupBy() { + return FALSE; + } + public function query() { $this->query->addOrderBy('rand'); }