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

Issue #3087332 by quietone, huzooka, amateescu, danflanagan8: Deprecate the...

Issue #3087332 by quietone, huzooka, amateescu, danflanagan8: Deprecate the 'd6_url_alias_language' migration process plugin

(cherry picked from commit 04f25785)
parent 32c93c8b
No related branches found
No related tags found
29 merge requests!2496Issue #3222757 by lauriii, Wim Leers, nod_, rachel_norfolk, itmaybejj,...,!2366Issue #3285105 by Daniel Arend,!2304Issue #3258987: Class "Drupal\Core\Utility\Error" not found in _drupal_error_handler_real() due to bug in PHP 8.1.0-8.1.5,!2148Issue #3270899: Remove Color module from core,!2136Issue #3227824: Move the linkset functionality from the decoupled menus contributed module to core's system module,!2071Issue #927570: Setting 403 or 404 handler to a page that redirects leads to endless loop,!1975Issue #3269749: losing query params from user to user/login redirect,!1959Issue #3236497: Allow other modules to opt out of security release message from update_page_top,!1481Issue #3252562: Allow functions that accept no arguments to be used as callable,!1443Issue #3075230: Provide menu link with disable option [Node Add Form],!1387Draft: Resolve #2511878 "Support enclosure field",!1386Issue #3112548: Layout Builder FuncionalJavascript tests should not rely on Classy,!1377Issue #3204015: Replace Toolbar BackboneJS usage with VanillaJS equivalent,!1356Issue #3076171: Provide a new library to replace jQuery UI autocomplete,!1321Issue #3239123: Refactor (if feasible) uses of the jQuery text function to use vanillaJS,!1311Adding the checkbock suggested by the UX team,!1294Issue #3204011: Replace Tour BackboneJS usage with VanillaJS equivalent (10.0.x),!1282Issue #3227824: Add the decoupled menus module to core,!1269Issue #3239134: Refactor (if feasible) uses of the jQuery val function to use VanillaJS,!1262Issue #3239500: Add Array.includes polyfill to support IE11 and Opera Mini,!1229Issue #3225621: Use media query event listener instead of a listener on the resize event,!1159Convert dblog entries into entities,!1051Issue #3131348: Replace assertions involving calls to empty() with assertEmpty()/assertNotEmpty()/assertArrayNotHasKey(),!799Issue #3214332: Preview content is broken in Claro.,!776Resolve #85494 "Use email verification 9.3.x",!558Resolve #3020422 "Toolbar style update",!512Issue #3207771: Menu UI node type form documentation points to non-existent function,!231Issue #2671162: summary text wysiwyg patch working fine on 9.2.0-dev,!49Twig debug output does not display all suggestions when an array of theme hooks is passed to #theme
......@@ -11,11 +11,25 @@
* Url alias language code process.
*
* @MigrateProcessPlugin(
* id = "d6_url_alias_language"
* id = "d6_url_alias_language",
* no_ui = TRUE
* )
*
* @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. No direct
* replacement is provided.
*
* @see https://www.drupal.org/node/3219051
*/
class UrlAliasLanguage extends ProcessPluginBase {
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
@trigger_error(__CLASS__ . ' is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3219051', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
/**
* {@inheritdoc}
*/
......
<?php
namespace Drupal\Tests\path\Unit\migrate\process\d6;
use Drupal\path\Plugin\migrate\process\d6\UrlAliasLanguage;
use Drupal\Tests\migrate\Unit\process\MigrateProcessTestCase;
/**
* Tests error message from deprecated UrlAliasLanguage process plugin.
*
* @group path
* @group legacy
* @coversDefaultClass \Drupal\path\Plugin\migrate\process\d6\UrlAliasLanguage
*/
class UrlAliasLanguageDeprecatedTest extends MigrateProcessTestCase {
/**
* Tests legacy UrlAliasLanguage process plugin.
*/
public function testUrlAliasLanguageDeprecation() {
$this->expectDeprecation("Drupal\path\Plugin\migrate\process\d6\UrlAliasLanguage is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. No direct replacement is provided. See https://www.drupal.org/node/3219051");
new UrlAliasLanguage([], 'test', []);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment