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

Breadcrumb

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

function PathPluginBase::validate

Overrides DisplayPluginBase::validate

2 calls to PathPluginBase::validate()
Page::validate in core/modules/views/src/Plugin/views/display/Page.php
Validate that the plugin is correct and can be saved.
Page::validate in core/modules/views/src/Plugin/views/display/Page.php
Validate that the plugin is correct and can be saved.
1 method overrides PathPluginBase::validate()
Page::validate in core/modules/views/src/Plugin/views/display/Page.php
Validate that the plugin is correct and can be saved.

File

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

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 validate() {
    $errors = parent::validate();
    $errors += $this->validatePath($this->getOption('path'));
    return $errors;
}

API Navigation

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