You are here

interface RequirementsInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface
  2. 9 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

4 files declare their use of RequirementsInterface
FieldDiscovery.php in core/modules/migrate_drupal/src/FieldDiscovery.php
migrate_drupal.module in core/modules/migrate_drupal/migrate_drupal.module
Provides migration from other Drupal sites.
MigrationConfigurationTrait.php in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
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 8

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. 1