class UrlAliasLanguageDeprecatedTest

Tests error message from deprecated UrlAliasLanguage process plugin.

@group path @group legacy @coversDefaultClass \Drupal\path\Plugin\migrate\process\d6\UrlAliasLanguage

Hierarchy

Expanded class hierarchy of UrlAliasLanguageDeprecatedTest

File

core/modules/path/tests/src/Unit/migrate/process/d6/UrlAliasLanguageDeprecatedTest.php, line 15

Namespace

Drupal\Tests\path\Unit\migrate\process\d6
View source
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', []);
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.