You are here

EntityLegalDocumentVersion.php in Entity Legal 3.0.x

File

src/Plugin/migrate/destination/EntityLegalDocumentVersion.php
View 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

Namesort descending Description
EntityLegalDocumentVersion Drupal entity legal document version migration destination plugin.