UrlAlias.php
Same filename in this branch
Same filename in other branches
- 9 core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
- 9 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\d6File
-
core/
modules/ path/ src/ Plugin/ migrate/ source/ d6/ UrlAlias.php
View source
<?php
namespace Drupal\path\Plugin\migrate\source\d6;
use Drupal\path\Plugin\migrate\source\UrlAliasBase;
/**
* URL aliases source from database.
*
* @MigrateSource(
* id = "d6_url_alias",
* source_module = "path"
* )
*/
class UrlAlias extends UrlAliasBase {
/**
* {@inheritdoc}
*/
public function fields() {
$fields = parent::fields();
$fields['src'] = $this->t('The internal system path.');
$fields['dst'] = $this->t('The path alias.');
return $fields;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UrlAlias | URL aliases source from database. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.