function BookMultilingualTest::langcodesProvider
Same name in other branches
- 10 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 258
Class
- BookMultilingualTest
- Tests multilingual books.
Namespace
Drupal\Tests\book\KernelCode
public function langcodesProvider() {
return [
[
self::LANGCODE,
],
[
'en',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.