public function UrlAlias::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/path/src/Plugin/migrate/destination/UrlAlias.php \Drupal\path\Plugin\migrate\destination\UrlAlias::__construct()
Constructs an entity destination plugin.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
MigrationInterface $migration: The migration.
\Drupal\Core\Path\AliasStorage $alias_storage: The alias storage service.
Overrides DestinationBase::__construct
File
- core/
modules/ path/ src/ Plugin/ migrate/ destination/ UrlAlias.php, line 45 - Contains \Drupal\path\Plugin\migrate\destination\UrlAlias.
Class
- UrlAlias
- Plugin annotation @MigrateDestination( id = "url_alias" )
Namespace
Drupal\path\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, AliasStorage $alias_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->aliasStorage = $alias_storage;
}