function UrlAliasBase::fields

Same name and namespace in other branches
  1. 11.x core/modules/path/src/Plugin/migrate/source/UrlAliasBase.php \Drupal\path\Plugin\migrate\source\UrlAliasBase::fields()

File

core/modules/path/src/Plugin/migrate/source/UrlAliasBase.php, line 26

Class

UrlAliasBase
Base class for the url_alias source plugins.

Namespace

Drupal\path\Plugin\migrate\source

Code

public function fields() {
  return [
    'pid' => $this->t('The numeric identifier of the path alias.'),
    'language' => $this->t('The language code of the URL alias.'),
  ];
}

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