DateTest::$entityTypeManager

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::entityTypeManager
  2. 10 core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::entityTypeManager
  3. 11.x core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::entityTypeManager

The mocked entity type manager.

Type: \Drupal\Core\Entity\EntityTypeManagerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Datetime/DateTest.php, line 24

Class

DateTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Datetime%21DateFormatter.php/class/DateFormatter/9" title="Provides a service to handle various date related functionality." class="local">\Drupal\Core\Datetime\DateFormatter</a> @group Datetime

Namespace

Drupal\Tests\Core\Datetime

Code

protected $entityTypeManager;

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