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

Breadcrumb

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

function PathPluginBase::submitOptionsForm

Overrides DisplayPluginBase::submitOptionsForm

6 calls to PathPluginBase::submitOptionsForm()
Feed::submitOptionsForm in core/modules/views/src/Plugin/views/display/Feed.php
Handle any special handling on the validate form.
Feed::submitOptionsForm in core/modules/views/src/Plugin/views/display/Feed.php
Handle any special handling on the validate form.
Page::submitOptionsForm in core/modules/views/src/Plugin/views/display/Page.php
Handle any special handling on the validate form.
Page::submitOptionsForm in core/modules/views/src/Plugin/views/display/Page.php
Handle any special handling on the validate form.
RestExport::submitOptionsForm in core/modules/rest/src/Plugin/views/display/RestExport.php
Handle any special handling on the validate form.

... See full list

3 methods override PathPluginBase::submitOptionsForm()
Feed::submitOptionsForm in core/modules/views/src/Plugin/views/display/Feed.php
Handle any special handling on the validate form.
Page::submitOptionsForm in core/modules/views/src/Plugin/views/display/Page.php
Handle any special handling on the validate form.
RestExport::submitOptionsForm in core/modules/rest/src/Plugin/views/display/RestExport.php
Handle any special handling on the validate form.

File

core/modules/views/src/Plugin/views/display/PathPluginBase.php, line 477

Class

PathPluginBase
The base display plugin for path/callbacks. This is used for pages and feeds.

Namespace

Drupal\views\Plugin\views\display

Code

public function submitOptionsForm(&$form, FormStateInterface $form_state) {
    parent::submitOptionsForm($form, $form_state);
    if ($form_state->get('section') == 'path') {
        $this->setOption('path', $form_state->getValue('path'));
    }
}

API Navigation

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