function UrlAliasBase::fields

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

Overrides MigrateSourceInterface::fields

2 calls to UrlAliasBase::fields()
UrlAlias::fields in core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
Returns available fields on the source.
UrlAlias::fields in core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
Returns available fields on the source.
2 methods override UrlAliasBase::fields()
UrlAlias::fields in core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php
Returns available fields on the source.
UrlAlias::fields in core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
Returns available fields on the source.

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.