function Comment::rowStyleOptions
Same name in other branches
- 9 core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::rowStyleOptions()
- 8.9.x core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::rowStyleOptions()
- 11.x core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment::rowStyleOptions()
Overrides WizardPluginBase::rowStyleOptions
File
-
core/
modules/ comment/ src/ Plugin/ views/ wizard/ Comment.php, line 48
Class
- Comment
- Tests creating comment views with the wizard.
Namespace
Drupal\comment\Plugin\views\wizardCode
protected function rowStyleOptions() {
$options = [];
$options['entity:comment'] = $this->t('comments');
$options['fields'] = $this->t('fields');
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.