UrlAlias.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/modules/path/src/Plugin/migrate/destination/UrlAlias.php
- 8.9.x core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
- 8.9.x core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
- 10 core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
- 10 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
- 11.x core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
- 11.x core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
Namespace
Drupal\path\Plugin\migrate\source\d7File
-
core/
modules/ path/ src/ Plugin/ migrate/ source/ d7/ UrlAlias.php
View source
<?php
namespace Drupal\path\Plugin\migrate\source\d7;
use Drupal\path\Plugin\migrate\source\UrlAliasBase;
/**
* Drupal 7 URL aliases source from database.
*
* For available configuration keys, refer to the parent classes.
*
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d7_url_alias",
* source_module = "path"
* )
*/
class UrlAlias extends UrlAliasBase {
/**
* {@inheritdoc}
*/
public function fields() {
$fields = parent::fields();
$fields['source'] = $this->t('The internal system path.');
$fields['alias'] = $this->t('The path alias.');
return $fields;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UrlAlias | Drupal 7 URL aliases source from database. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.