EntityLegalDocumentVersion.php in Entity Legal 4.0.x
Same filename in this branch
Same filename and directory in other branches
File
src/Plugin/migrate/destination/EntityLegalDocumentVersion.phpView source
<?php
namespace Drupal\entity_legal\Plugin\migrate\destination;
use Drupal\migrate\Plugin\migrate\destination\EntityContentBase;
/**
* Drupal entity legal document version migration destination plugin.
*
* @MigrateDestination(
* id = "entity_legal_document_version",
* provider = "entity_legal"
* )
*/
class EntityLegalDocumentVersion extends EntityContentBase {
/**
* {@inheritdoc}
*/
protected static function getEntityTypeId($plugin_id) {
return 'entity_legal_document_version';
}
/**
* {@inheritdoc}
*/
public function getIds() {
$ids['name']['type'] = 'string';
return $ids;
}
}
Classes
Name | Description |
---|---|
EntityLegalDocumentVersion | Drupal entity legal document version migration destination plugin. |