Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Node.php

function Node::pageDisplayOptions

Overrides WizardPluginBase::pageDisplayOptions

File

core/modules/node/src/Plugin/views/wizard/Node.php, line 194

Class

Node
Tests creating node views with the wizard.

Namespace

Drupal\node\Plugin\views\wizard

Code

protected function pageDisplayOptions(array $form, FormStateInterface $form_state) {
    $display_options = parent::pageDisplayOptions($form, $form_state);
    $row_plugin = $form_state->getValue([
        'page',
        'style',
        'row_plugin',
    ]);
    $row_options = $form_state->getValue([
        'page',
        'style',
        'row_options',
    ], []);
    $this->display_options_row($display_options, $row_plugin, $row_options);
    return $display_options;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal