public function UrlAlias::fields in Drupal 10
Same name in this branch
- 10 core/modules/path/src/Plugin/migrate/source/d6/UrlAlias.php \Drupal\path\Plugin\migrate\source\d6\UrlAlias::fields()
- 10 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()
Same name and namespace in other branches
- 8 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::fields()
- 9 core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php \Drupal\path\Plugin\migrate\source\d7\UrlAlias::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 UrlAliasBase::fields
File
- core/
modules/ path/ src/ Plugin/ migrate/ source/ d7/ UrlAlias.php, line 25
Class
- UrlAlias
- Drupal 7 URL aliases source from database.
Namespace
Drupal\path\Plugin\migrate\source\d7Code
public function fields() {
$fields = parent::fields();
$fields['source'] = $this
->t('The internal system path.');
$fields['alias'] = $this
->t('The path alias.');
return $fields;
}