function ManyToOneHelper::defineOptions

Same name in other branches
  1. 9 core/modules/views/src/ManyToOneHelper.php \Drupal\views\ManyToOneHelper::defineOptions()
  2. 8.9.x core/modules/views/src/ManyToOneHelper.php \Drupal\views\ManyToOneHelper::defineOptions()
  3. 10 core/modules/views/src/ManyToOneHelper.php \Drupal\views\ManyToOneHelper::defineOptions()

File

core/modules/views/src/ManyToOneHelper.php, line 42

Class

ManyToOneHelper
This many to one helper object is used on both arguments and filters.

Namespace

Drupal\views

Code

public static function defineOptions(&$options) {
    $options['reduce_duplicates'] = [
        'default' => FALSE,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.