RequirementsInterface.php

Same filename in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/RequirementsInterface.php
  2. 10 core/modules/migrate/src/Plugin/RequirementsInterface.php
  3. 11.x core/modules/migrate/src/Plugin/RequirementsInterface.php

Namespace

Drupal\migrate\Plugin

File

core/modules/migrate/src/Plugin/RequirementsInterface.php

View source
<?php

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

}

Interfaces

Title Deprecated Summary
RequirementsInterface An interface to check for a migrate plugin requirements.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.