function BookMultilingualTest::langcodesProvider
Same name in other branches
- 9 core/modules/book/tests/src/Kernel/BookMultilingualTest.php \Drupal\Tests\book\Kernel\BookMultilingualTest::langcodesProvider()
- 11.x core/modules/book/tests/src/Kernel/BookMultilingualTest.php \Drupal\Tests\book\Kernel\BookMultilingualTest::langcodesProvider()
Data provider for ::testMultilingualBooks().
File
-
core/
modules/ book/ tests/ src/ Kernel/ BookMultilingualTest.php, line 262
Class
- BookMultilingualTest
- Tests multilingual books.
Namespace
Drupal\Tests\book\KernelCode
public static function langcodesProvider() {
return [
[
self::LANGCODE,
],
[
'en',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.