Mercurial > hg > isophonics-drupal-site
view core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line 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; } }