Loading core/modules/migrate/src/Plugin/migrate/destination/Entity.php +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,10 @@ /** * Provides a generic destination to import entities. * * Available configuration keys: * - default_bundle: (optional) The bundle to use for this row if 'bundle' is * not defined on the row. * * Examples: * * @code Loading Loading @@ -44,8 +48,11 @@ * revision_timestamp: timestamp * destination: * plugin: entity:node * default_bundle: custom * @endcode * * This will save the processed, migrated row as a node of type 'custom'. * * @MigrateDestination( * id = "entity", * deriver = "Drupal\migrate\Plugin\Derivative\MigrateEntity" Loading core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ * validate: true * @endcode * * @see \Drupal\migrate\Plugin\migrate\destination\Entity * @see \Drupal\migrate\Plugin\migrate\destination\EntityRevision */ class EntityContentBase extends Entity implements HighestIdInterface, MigrateValidatableEntityInterface { Loading Loading
core/modules/migrate/src/Plugin/migrate/destination/Entity.php +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,10 @@ /** * Provides a generic destination to import entities. * * Available configuration keys: * - default_bundle: (optional) The bundle to use for this row if 'bundle' is * not defined on the row. * * Examples: * * @code Loading Loading @@ -44,8 +48,11 @@ * revision_timestamp: timestamp * destination: * plugin: entity:node * default_bundle: custom * @endcode * * This will save the processed, migrated row as a node of type 'custom'. * * @MigrateDestination( * id = "entity", * deriver = "Drupal\migrate\Plugin\Derivative\MigrateEntity" Loading
core/modules/migrate/src/Plugin/migrate/destination/EntityContentBase.php +1 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ * validate: true * @endcode * * @see \Drupal\migrate\Plugin\migrate\destination\Entity * @see \Drupal\migrate\Plugin\migrate\destination\EntityRevision */ class EntityContentBase extends Entity implements HighestIdInterface, MigrateValidatableEntityInterface { Loading