BlockFormTest::$language

Same name and namespace in other branches
  1. 9 core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::language
  2. 8.9.x core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::language
  3. 10 core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::language

The language manager service.

Type: \Drupal\Core\Language\LanguageManagerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/block/tests/src/Unit/BlockFormTest.php, line 39

Class

BlockFormTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21block%21src%21BlockForm.php/class/BlockForm/11.x" title="Provides form for block instance forms." class="local">\Drupal\block\BlockForm</a> @group block

Namespace

Drupal\Tests\block\Unit

Code

protected $language;

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