You are here

protected function Comment::rowStyleOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::rowStyleOptions()

Retrieves row style plugin names.

Return value

array Returns the plugin names available for the base table of the wizard.

Overrides WizardPluginBase::rowStyleOptions

File

core/modules/comment/src/Plugin/views/wizard/Comment.php, line 58
Contains \Drupal\comment\Plugin\views\wizard\Comment.

Class

Comment
Tests creating comment views with the wizard.

Namespace

Drupal\comment\Plugin\views\wizard

Code

protected function rowStyleOptions() {
  $options = array();
  $options['entity:comment'] = $this
    ->t('comments');
  $options['fields'] = $this
    ->t('fields');
  return $options;
}