function MigrateMenuLinkTranslationTest::testMenuLinkTranslation
Same name in other branches
- 10 core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d7\MigrateMenuLinkTranslationTest::testMenuLinkTranslation()
- 11.x core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d7\MigrateMenuLinkTranslationTest::testMenuLinkTranslation()
Tests migration of menu link translations.
File
-
core/
modules/ menu_link_content/ tests/ src/ Kernel/ Migrate/ d7/ MigrateMenuLinkTranslationTest.php, line 47
Class
- MigrateMenuLinkTranslationTest
- Tests Menu link translation migration.
Namespace
Drupal\Tests\menu_link_content\Kernel\Migrate\d7Code
public function testMenuLinkTranslation() {
$this->assertEntity(467, 'fr', 'fr - Google', 'menu-test-menu', 'fr - Google description', TRUE, FALSE, [
'attributes' => [
'title' => 'Google',
],
], 'http://google.com', 0);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.