public function UrlAliasBase::fields in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/path/src/Plugin/migrate/source/UrlAliasBase.php \Drupal\path\Plugin\migrate\source\UrlAliasBase::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
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 27 - Contains \Drupal\path\Plugin\migrate\source\UrlAliasBase.
Class
- UrlAliasBase
- Base class for the url_alias source plugins.
Namespace
Drupal\path\Plugin\migrate\sourceCode
public function fields() {
return array(
'pid' => $this
->t('The numeric identifier of the path alias.'),
'language' => $this
->t('The language code of the url alias.'),
);
}