function 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\Kernel

Code

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.