You are here

protected function EntityReferenceRevisions::defineOptions in Entity Reference Revisions 8

Same name in this branch
  1. 8 src/Plugin/views/display/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\display\EntityReferenceRevisions::defineOptions()
  2. 8 src/Plugin/views/style/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\style\EntityReferenceRevisions::defineOptions()
  3. 8 src/Plugin/views/row/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\row\EntityReferenceRevisions::defineOptions()

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

Overrides StylePluginBase::defineOptions

File

src/Plugin/views/style/EntityReferenceRevisions.php, line 43

Class

EntityReferenceRevisions
EntityReferenceRevisions style plugin.

Namespace

Drupal\entity_reference_revisions\Plugin\views\style

Code

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