Same filename and directory in other branches
- 8.9.x core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php
- 9 core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php
Namespace
Drupal\migrate\Plugin\Exception
File
core/modules/migrate/src/Plugin/Exception/BadPluginDefinitionException.php
View source
<?php
namespace Drupal\migrate\Plugin\Exception;
use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException;
class BadPluginDefinitionException extends InvalidPluginDefinitionException {
public function __construct($plugin_id, $property, $code = 0, \Exception $previous = NULL) {
$message = sprintf('The %s plugin must define the %s property.', $plugin_id, $property);
parent::__construct($plugin_id, $message, $code, $previous);
}
}
Classes