interface RequirementsInterface
Same name in other branches
- 9 core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface
- 10 core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface
- 11.x core/modules/migrate/src/Plugin/RequirementsInterface.php \Drupal\migrate\Plugin\RequirementsInterface
An interface to check for a migrate plugin requirements.
Hierarchy
- interface \Drupal\migrate\Plugin\RequirementsInterface
Expanded class hierarchy of RequirementsInterface
All classes that implement RequirementsInterface
7 files declare their use of RequirementsInterface
- DestinationBase.php in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ DestinationBase.php - 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 - MigrationPluginListTest.php in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationPluginListTest.php
File
-
core/
modules/ migrate/ src/ Plugin/ RequirementsInterface.php, line 8
Namespace
Drupal\migrate\PluginView 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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RequirementsInterface::checkRequirements | public | function | Checks if requirements for this plugin are OK. | 3 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.