function EntityTypeTest::getTestHandlerClass
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php \Drupal\Tests\Core\Entity\EntityTypeTest::getTestHandlerClass()
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php \Drupal\Tests\Core\Entity\EntityTypeTest::getTestHandlerClass()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php \Drupal\Tests\Core\Entity\EntityTypeTest::getTestHandlerClass()
Gets a mock controller class name.
Return value
string A mock controller class name.
8 calls to EntityTypeTest::getTestHandlerClass()
- EntityTypeTest::testGetAccessControlClass in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getAccessControlClass() method.
- EntityTypeTest::testGetFormClass in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getFormClass() method.
- EntityTypeTest::testGetHandler in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getHandler() method.
- EntityTypeTest::testGetListBuilderClass in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getListBuilderClass() method.
- EntityTypeTest::testGetStorageClass in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getStorageClass() method.
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php, line 449
Class
- EntityTypeTest
- @coversDefaultClass \Drupal\Core\Entity\EntityType @group Entity
Namespace
Drupal\Tests\Core\EntityCode
protected function getTestHandlerClass() : string {
return get_class($this->getMockForAbstractClass('Drupal\\Core\\Entity\\EntityHandlerBase'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.