The entity_legal_document plugin must define the source_module property

Created on 26 July 2023, about 1 year ago
Updated 9 December 2023, 10 months ago

Problem/Motivation

drupal/core:10.1
drupal/migrate_plus:6.x
drupal/migrate_tools:6.x
drupal/entity_legal:4.0.x

The following migration plugins throw an exception

The entity_legal_document* plugin must define the source_module property.

  • ./src/Plugin/migrate/source/EntityLegalDocument.php
  • ./src/Plugin/migrate/source/EntityLegalDocumentAcceptance.php
  • ./src/Plugin/migrate/source/EntityLegalDocumentVersion.php

Proposed resolution

Add source_module = "entity_legal", to the annotation.

/**
 * @MigrateSource(
 *   id = "entity_legal_document",
 *   source_provider = "entity_legal",
 *   source_module = "entity_legal",
 * )
 */
πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary Sweetchuck Budapest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024