protected function Node::rowStyleOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/views/wizard/Node.php \Drupal\node\Plugin\views\wizard\Node::rowStyleOptions()
- 9 core/modules/node/src/Plugin/views/wizard/Node.php \Drupal\node\Plugin\views\wizard\Node::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/ node/ src/ Plugin/ views/ wizard/ Node.php, line 107
Class
- Node
- Tests creating node views with the wizard.
Namespace
Drupal\node\Plugin\views\wizardCode
protected function rowStyleOptions() {
$options = [];
$options['teasers'] = $this
->t('teasers');
$options['full_posts'] = $this
->t('full posts');
$options['titles'] = $this
->t('titles');
$options['titles_linked'] = $this
->t('titles (linked)');
$options['fields'] = $this
->t('fields');
return $options;
}