function UrlAlias::fields

Same name in this branch
  1. 9 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()
Same name in other branches
  1. 8.9.x core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php \Drupal\path\Plugin\migrate\source\d6\UrlAlias::fields()
  2. 8.9.x core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()
  3. 10 core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php \Drupal\path\Plugin\migrate\source\d6\UrlAlias::fields()
  4. 10 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()
  5. 11.x core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php \Drupal\path\Plugin\migrate\source\d6\UrlAlias::fields()
  6. 11.x core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()

Overrides UrlAliasBase::fields

File

core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php, line 25

Class

UrlAlias
Drupal 6 URL aliases source from database.

Namespace

Drupal\path\Plugin\migrate\source\d6

Code

public function fields() {
    $fields = parent::fields();
    $fields['src'] = $this->t('The internal system path.');
    $fields['dst'] = $this->t('The path alias.');
    return $fields;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.