You are here

protected function NodeRevision::row_style_options in Views (for Drupal 7) 8.3

Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::row_style_options().

Node revisions do not support full posts or teasers, so remove them.

Overrides WizardPluginBase::row_style_options

File

lib/Views/node/Plugin/views/wizard/NodeRevision.php, line 78
Definition of Views\node\Plugin\views\wizard\NodeRevision.

Class

NodeRevision
Tests creating node revision views with the wizard.

Namespace

Views\node\Plugin\views\wizard

Code

protected function row_style_options() {
  $options = parent::row_style_options();
  unset($options['teasers']);
  unset($options['full_posts']);
  return $options;
}