UrlAlias.php in Drupal 10
File
core/modules/path/src/Plugin/migrate/source/d7/UrlAlias.php
View source
<?php
namespace Drupal\path\Plugin\migrate\source\d7;
use Drupal\path\Plugin\migrate\source\UrlAliasBase;
class UrlAlias extends UrlAliasBase {
public function fields() {
$fields = parent::fields();
$fields['source'] = $this
->t('The internal system path.');
$fields['alias'] = $this
->t('The path alias.');
return $fields;
}
}
Classes
Name |
Description |
UrlAlias |
Drupal 7 URL aliases source from database. |