You are here

protected function SupportTicketRevision::rowStyleOptions in Support Ticketing System 8

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

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

Overrides WizardPluginBase::rowStyleOptions

File

modules/support_ticket/src/Plugin/views/wizard/SupportTicketRevision.php, line 51
Contains \Drupal\support_ticket\Plugin\views\wizard\SupportTicketRevision.

Class

SupportTicketRevision
Tests creating support ticket revision views with the wizard.

Namespace

Drupal\support_ticket\Plugin\views\wizard

Code

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