function Book::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

core/modules/book/src/Plugin/migrate/destination/Book.php, line 19

Class

Book
Provides migrate destination plugin for Book content.

Namespace

Drupal\book\Plugin\migrate\destination

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.