c01d364733f3ab4a693a75b48be8f6633690c2ec
[yaffs-website] / web / core / modules / path / src / Plugin / migrate / source / d6 / UrlAlias.php
1 <?php
2
3 namespace Drupal\path\Plugin\migrate\source\d6;
4
5 use Drupal\path\Plugin\migrate\source\UrlAliasBase;
6
7 /**
8  * URL aliases source from database.
9  *
10  * @MigrateSource(
11  *   id = "d6_url_alias",
12  *   source_module = "path"
13  * )
14  */
15 class UrlAlias extends UrlAliasBase {
16
17   /**
18    * {@inheritdoc}
19    */
20   public function fields() {
21     $fields = parent::fields();
22     $fields['src'] = $this->t('The internal system path.');
23     $fields['dst'] = $this->t('The path alias.');
24     return $fields;
25   }
26
27 }