You are here

protected function Node::rowStyleOptions in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\wizard

Code

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;
}