23 lines
437 B
PHP
23 lines
437 B
PHP
<?php
|
|
|
|
/**
|
|
* @file
|
|
* Contains \Drupal\migrate\Plugin\RequirementsInterface.
|
|
*/
|
|
|
|
namespace Drupal\migrate\Plugin;
|
|
|
|
/**
|
|
* An interface to check for a migrate plugin requirements.
|
|
*/
|
|
interface RequirementsInterface {
|
|
|
|
/**
|
|
* Checks if requirements for this plugin are OK.
|
|
*
|
|
* @throws \Drupal\migrate\Exception\RequirementsException
|
|
* Thrown when requirements are not met.
|
|
*/
|
|
public function checkRequirements();
|
|
|
|
}
|