You are here

interface RequirementsInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface

An interface to check for a migrate plugin requirements.

Hierarchy

Expanded class hierarchy of RequirementsInterface

All classes that implement RequirementsInterface

5 files declare their use of RequirementsInterface
CckMigration.php in core/modules/migrate_drupal/src/Plugin/migrate/builder/d6/CckMigration.php
Contains \Drupal\migrate_drupal\Plugin\migrate\builder\d6\CckMigration.
DestinationBase.php in core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php
Contains \Drupal\migrate\Plugin\migrate\destination\DestinationBase.
DrupalSqlBase.php in core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php
Contains \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase.
Migration.php in core/modules/migrate/src/Entity/Migration.php
Contains \Drupal\migrate\Entity\Migration.
MigrationTest.php in core/modules/migrate/tests/src/Unit/MigrationTest.php
Contains \Drupal\Tests\migrate\Unit\MigrationTest.

File

core/modules/migrate/src/Plugin/RequirementsInterface.php, line 13
Contains \Drupal\migrate\Plugin\RequirementsInterface.

Namespace

Drupal\migrate\Plugin
View source
interface RequirementsInterface {

  /**
   * Checks if requirements for this plugin are OK.
   *
   * @throws \Drupal\migrate\Exception\RequirementsException
   *   Thrown when requirements are not met.
   */
  public function checkRequirements();

}

Members

Namesort descending Modifiers Type Description Overrides
RequirementsInterface::checkRequirements public function Checks if requirements for this plugin are OK. 3