You are here

protected function Ingredient::rowStyleOptions in Recipe 8.2

Retrieves row style plugin names.

Return value

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

Overrides WizardPluginBase::rowStyleOptions

File

modules/ingredient/src/Plugin/views/wizard/Ingredient.php, line 43

Class

Ingredient
Wizard plugin for creating Ingredient views.

Namespace

Drupal\ingredient\Plugin\views\wizard

Code

protected function rowStyleOptions() {
  $options = [];
  $options['full_posts'] = $this
    ->t('full posts');
  $options['names'] = $this
    ->t('names');
  $options['names_linked'] = $this
    ->t('names (linked)');
  $options['fields'] = $this
    ->t('fields');
  return $options;
}