public function DestinationBase::checkRequirements in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::checkRequirements()
Checks if requirements for this plugin are OK.
Throws
\Drupal\migrate\Exception\RequirementsException Thrown when requirements are not met.
Overrides RequirementsInterface::checkRequirements
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ DestinationBase.php, line 78 - Contains \Drupal\migrate\Plugin\migrate\destination\DestinationBase.
Class
- DestinationBase
- Base class for migrate destination classes.
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
public function checkRequirements() {
if (empty($this->pluginDefinition['requirements_met'])) {
throw new RequirementsException();
}
}