You are here

public function GoogleNewsFields::validate in Views Google News 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

src/Plugin/views/row/GoogleNewsFields.php, line 132

Class

GoogleNewsFields
Renders an GoogleNews item based on fields.

Namespace

Drupal\views_googlenews\Plugin\views\row

Code

public function validate() {
  $errors = parent::validate();

  // @todo Add validation.
  return $errors;
}