protected function Node::rowStyleOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 64 - Contains \Drupal\node\Plugin\views\wizard\Node.
Class
- Node
- Tests creating node views with the wizard.
Namespace
Drupal\node\Plugin\views\wizardCode
protected function rowStyleOptions() {
$options = array();
$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;
}