protected function EntityReference::defineOptions

Same name in this branch
  1. 8.x drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/row/EntityReference.php \Drupal\entity_reference\Plugin\views\row\EntityReference::defineOptions()
  2. 8.x drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/display/EntityReference.php \Drupal\entity_reference\Plugin\views\display\EntityReference::defineOptions()
  3. 8.x drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php \Drupal\entity_reference\Plugin\views\style\EntityReference::defineOptions()

Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::defineOptions().

Overrides StylePluginBase::defineOptions

File

drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php, line 47
Contains \Drupal\entity_reference\Plugin\views\style\EntityReference.

Class

EntityReference
EntityReference style plugin.

Namespace

Drupal\entity_reference\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['search_fields'] = array(
    'default' => NULL,
  );
  return $options;
}