function EntityRevisionParamConverterTest::testApplyingRoute
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testApplyingRoute()
- 8.9.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testApplyingRoute()
- 11.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::testApplyingRoute()
@covers ::applies
File
-
core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ EntityRevisionParamConverterTest.php, line 62
Class
- EntityRevisionParamConverterTest
- @coversDefaultClass \Drupal\Core\ParamConverter\EntityRevisionParamConverter @group entity
Namespace
Drupal\Tests\Core\ParamConverterCode
public function testApplyingRoute() : void {
$route = $this->getTestRoute();
$this->assertTrue($this->converter
->applies($route->getOption('parameters')['test_revision'], 'test_revision', $route));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.