Exemple #1
0
  protected function defineOptions() {
    $options = parent::defineOptions();
    $options['disable_sql_rewrite'] = array(
      'default' => FALSE,
    );
    $options['distinct'] = array(
      'default' => FALSE,
    );
    $options['replica'] = array(
      'default' => FALSE,
    );
    $options['query_comment'] = array(
      'default' => '',
    );
    $options['query_tags'] = array(
      'default' => array(),
    );

    return $options;
  }
Exemple #2
0
 /**
  * Implements \Drupal\views\Plugin\views\query\QueryPluginBase::defineOptions().
  */
 protected function defineOptions()
 {
     $options = parent::defineOptions();
     $options['test_setting'] = array('default' => '');
     return $options;
 }
 /**
  * {@inheritdoc}
  */
 public function defineOptions()
 {
     return parent::defineOptions() + array('bypass_access' => array('default' => FALSE), 'skip_access' => array('default' => FALSE), 'parse_mode' => array('default' => 'terms'));
 }
Exemple #4
0
 /**
  * {@inheritdoc}
  */
 public function defineOptions() {
   return parent::defineOptions() + array(
     'search_api_bypass_access' => array(
       'default' => FALSE,
     ),
     'entity_access' => array(
       'default' => FALSE,
     ),
     'parse_mode' => array(
       'default' => 'terms',
     ),
   );
 }