CommentLinkBuilderTest::$moduleHandler

Same name and namespace in other branches
  1. 8.9.x core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php \Drupal\Tests\comment\Unit\CommentLinkBuilderTest::moduleHandler
  2. 10 core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php \Drupal\Tests\comment\Unit\CommentLinkBuilderTest::moduleHandler
  3. 11.x core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php \Drupal\Tests\comment\Unit\CommentLinkBuilderTest::moduleHandler

Module handler mock.

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

File

core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php, line 47

Class

CommentLinkBuilderTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21comment%21src%21CommentLinkBuilder.php/class/CommentLinkBuilder/9" title="Defines a class for building markup for comment links on a commented entity." class="local">\Drupal\comment\CommentLinkBuilder</a> @group comment

Namespace

Drupal\Tests\comment\Unit

Code

protected $moduleHandler;

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