protected static function Profile::getEntityTypeId in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/destination/Profile.php \Drupal\commerce_migrate\Plugin\migrate\destination\Profile::getEntityTypeId()
- 3.1.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\destinationCode
protected static function getEntityTypeId($plugin_id) {
return 'profile';
}