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

Breadcrumb

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

function ViewsPluginInterface::validate

Validate that the plugin is correct and can be saved.

Return value

array|null An array of error strings to tell the user what is wrong with this plugin.

1 method overrides ViewsPluginInterface::validate()
PluginBase::validate in core/modules/views/src/Plugin/views/PluginBase.php
Validate that the plugin is correct and can be saved.

File

core/modules/views/src/Plugin/views/ViewsPluginInterface.php, line 165

Class

ViewsPluginInterface
Provides an interface for all views plugins.

Namespace

Drupal\views\Plugin\views

Code

public function validate();

API Navigation

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