LinkGeneratorTest::$moduleHandler

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

The mocked module handler.

Type: \PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php, line 42

Class

LinkGeneratorTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Utility%21LinkGenerator.php/class/LinkGenerator/9" title="Provides a class which generates a link with route names and parameters." class="local">\Drupal\Core\Utility\LinkGenerator</a> @group Utility

Namespace

Drupal\Tests\Core\Utility

Code

protected $moduleHandler;

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