You are here

protected static function Profile::getEntityTypeId in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x src/Plugin/migrate/destination/Profile.php \Drupal\commerce_migrate\Plugin\migrate\destination\Profile::getEntityTypeId()
  2. 3.0.x src/Plugin/migrate/destination/Profile.php \Drupal\commerce_migrate\Plugin\migrate\destination\Profile::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

src/Plugin/migrate/destination/Profile.php, line 20

Class

Profile
Saves a profile entity.

Namespace

Drupal\commerce_migrate\Plugin\migrate\destination

Code

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