Skip to content
Snippets Groups Projects
Unverified Commit 577be895 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3206932 by Matroskeen, quietone, alexpott: Rename targetEntityType...

Issue #3206932 by Matroskeen, quietone, alexpott: Rename targetEntityType constant in d6_view_mode migration to simplify source plugin

(cherry picked from commit bd2a1eab)
parent b5241ea9
Branches
Tags
22 merge requests!10011Issue #3200534 by quietone, longwave, Kristen Pol: Use dataprovider for...,!3134Issue #3222236: Lighthouse SEO: Uncrawlable Link a#main-content,!2571Issue #3000717: Missing mapping for "nodereference_url" widget,!2521Issue #3185775: Place Views preview on the side on large monitors,!1803Issue #2329253: Allow the ChangedItem to skip updating when synchronizing (f.e. when migrating),!1603Issue #3231707: mxr576's core patch playground,!1479Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1478Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1356Issue #3076171: Provide a new library to replace jQuery UI autocomplete,!1203Issue #3236191 Wrong group exposed form widgets and multiple selection error.,!1076Issue #2903336 Added node context for tokens.,!1015Issue #3226944: REST's Request handler doesn't resolve $data argument for put method,!810Issue #3219541: Remove redudante call $this->requestStack->getCurrentRequest() in FormBuilder::buildForm,!803Issue #3219167: webchick test issue of all time turbo edition super star 20000 NG,!740Issue #3216088: Update Symfony 5 components to 5.3,!657Draft: Remove alpha-stability experimental modules and themes from 9.2.x only, prior...,!577Issue #3209779: Create new database storage for the tracker module,!526Update block module to use once library,!516Issue #3207782: Figure out BC for jquery once by @drupal/once,!413most recent patch to gitlab branch,!400Issue #3051766: Deprecate and replace jQuery Joyride (for tours),!35Issue #3164686 WebAssert::addressEquals() and AssertLegacyTrait::assertUrl() fail to check the querystring
......@@ -6,7 +6,7 @@ migration_tags:
source:
plugin: d6_view_mode
constants:
targetEntityType: node
entity_type: node
status: true
process:
mode:
......@@ -33,7 +33,7 @@ process:
5: "Print"
teaser: "Teaser"
full: "Full"
targetEntityType: 'constants/targetEntityType'
targetEntityType: 'constants/entity_type'
status: 'constants/status'
destination:
plugin: entity:entity_view_mode
......@@ -71,6 +71,7 @@ public function getIds() {
public function calculateDependencies() {
$this->dependencies = parent::calculateDependencies();
if (isset($this->configuration['constants']['targetEntityType'])) {
@trigger_error('The constant targetEntityType is deprecated in drupal:9.2.0 and is removed in drupal:10.0.0. Use entity_type instead. See https://www.drupal.org/node/3208135', E_USER_DEPRECATED);
$this->addDependency('module', $this->entityTypeManager->getDefinition($this->configuration['constants']['targetEntityType'])->getProvider());
}
return $this->dependencies;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment