function EntityTestDestination::getEntityTypeId
Gets the test entity ID.
Parameters
string $plugin_id: The plugin ID.
Return value
string The entity type.
Overrides EntityFieldDefinitionTrait::getEntityTypeId
File
-
core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityContentBaseTest.php, line 143
Class
- EntityTestDestination
- Stub class for testing EntityContentBase methods.
Namespace
Drupal\Tests\migrate\Unit\Plugin\migrate\destinationCode
public static function getEntityTypeId($plugin_id) {
return 'foo';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.