ElementInfoManagerTest::$moduleHandler

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

The mocked module handler.

Type: \Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php, line 39

Class

ElementInfoManagerTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Render%21ElementInfoManager.php/class/ElementInfoManager/9" title="Provides a plugin manager for element plugins." class="local">\Drupal\Core\Render\ElementInfoManager</a> @group Render

Namespace

Drupal\Tests\Core\Render

Code

protected $moduleHandler;

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