You are here

public function SearchApiStandard::defineOptions in Search API 8

Information about options for all kinds of purposes will be held here.


'option_name' => array(
 - 'default' => default value,
 - 'contains' => (optional) array of items this contains, with its own
     defaults, etc. If contains is set, the default will be ignored and
     assumed to be array().
 ),

Return value

array Returns the options of this handler/plugin.

Overrides ArgumentPluginBase::defineOptions

2 calls to SearchApiStandard::defineOptions()
SearchApiFulltext::defineOptions in src/Plugin/views/argument/SearchApiFulltext.php
Information about options for all kinds of purposes will be held here. @code 'option_name' => array(
SearchApiMoreLikeThis::defineOptions in src/Plugin/views/argument/SearchApiMoreLikeThis.php
Information about options for all kinds of purposes will be held here. @code 'option_name' => array(
2 methods override SearchApiStandard::defineOptions()
SearchApiFulltext::defineOptions in src/Plugin/views/argument/SearchApiFulltext.php
Information about options for all kinds of purposes will be held here. @code 'option_name' => array(
SearchApiMoreLikeThis::defineOptions in src/Plugin/views/argument/SearchApiMoreLikeThis.php
Information about options for all kinds of purposes will be held here. @code 'option_name' => array(

File

src/Plugin/views/argument/SearchApiStandard.php, line 55

Class

SearchApiStandard
Defines a contextual filter for applying Search API conditions.

Namespace

Drupal\search_api\Plugin\views\argument

Code

public function defineOptions() {
  $options = parent::defineOptions();
  $options['break_phrase'] = [
    'default' => FALSE,
  ];
  $options['not'] = [
    'default' => FALSE,
  ];
  return $options;
}