function RequirementsInterface::checkRequirements

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface::checkRequirements()
  2. 10 core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface::checkRequirements()
  3. 11.x core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface::checkRequirements()

Checks if requirements for this plugin are OK.

Throws

\Drupal\migrate\Exception\RequirementsException Thrown when requirements are not met.

3 methods override RequirementsInterface::checkRequirements()
DestinationBase::checkRequirements in core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php
Checks if requirements for this plugin are OK.
Migration::checkRequirements in core/modules/migrate/src/Plugin/Migration.php
Checks if requirements for this plugin are OK.
SqlBase::checkRequirements in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Checks if requirements for this plugin are OK.

File

core/modules/migrate/src/Plugin/RequirementsInterface.php, line 16

Class

RequirementsInterface
An interface to check for a migrate plugin requirements.

Namespace

Drupal\migrate\Plugin

Code

public function checkRequirements();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.