You are here

protected static function LibraryTransaction::getEntityTypeId in Library 8

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/LibraryTransaction.php, line 20

Class

LibraryTransaction
Library transaction migration.

Namespace

Drupal\library\Plugin\migrate\destination

Code

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