function WizardPluginBase::rowStyleOptions

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions()
  2. 8.9.x core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions()
  3. 10 core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php \Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions()

Retrieves row style plugin names.

Return value

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

4 calls to WizardPluginBase::rowStyleOptions()
NodeRevision::rowStyleOptions in core/modules/node/src/Plugin/views/wizard/NodeRevision.php
Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions().
WizardPluginBase::blockDisplayOptions in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Retrieves the block display options.
WizardPluginBase::buildFormStyle in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Adds the style options to the wizard form.
WizardPluginBase::pageDisplayOptions in core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
Retrieves the page display options.
3 methods override WizardPluginBase::rowStyleOptions()
Comment::rowStyleOptions in core/modules/comment/src/Plugin/views/wizard/Comment.php
Node::rowStyleOptions in core/modules/node/src/Plugin/views/wizard/Node.php
NodeRevision::rowStyleOptions in core/modules/node/src/Plugin/views/wizard/NodeRevision.php
Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions().

File

core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php, line 612

Class

WizardPluginBase
Base class for Views wizard plugins.

Namespace

Drupal\views\Plugin\views\wizard

Code

protected function rowStyleOptions() {
    // Get all available row plugins by default.
    $options = Views::fetchPluginNames('row', 'normal', [
        $this->base_table,
    ]);
    return $options;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.