You are here

protected static function DataStream::getEntityTypeId in farmOS 2.x

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

modules/core/data_stream/src/Plugin/migrate/destination/DataStream.php, line 26

Class

DataStream
A destination plugin for data streams that can use a "providing_asset" ID.

Namespace

Drupal\data_stream\Plugin\migrate\destination

Code

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