function UrlAlias::getEntityTypeId

Finds the entity type from configuration or plugin ID.

Parameters

string $plugin_id: The plugin ID.

Return value

string The entity type.

Overrides EntityFieldDefinitionTrait::getEntityTypeId

File

core/modules/path/src/Plugin/migrate/destination/UrlAlias.php, line 48

Class

UrlAlias
Legacy destination class for non-entity path aliases.

Namespace

Drupal\path\Plugin\migrate\destination

Code

protected static function getEntityTypeId($plugin_id) {
  return 'path_alias';
}

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