You are here

public function MetatagViewsCacheWrapper::validate in Metatag 8

Validate that the plugin is correct and can be saved.

Return value

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

Overrides PluginBase::validate

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 270

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function validate() {
  return $this->plugin
    ->validate();
}