You are here

public function RequirementsInterface::checkRequirements in Drupal 9

Same name and namespace in other branches
  1. 8 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()

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();