public function TitleCallback::example in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php \Drupal\Tests\Core\Controller\TitleCallback::example()
Gets the example string.
Parameters
string $value: The dynamic value.
Return value
string Returns the example string.
File
- core/
tests/ Drupal/ Tests/ Core/ Controller/ TitleResolverTest.php, line 152 - Contains \Drupal\Tests\Core\Controller\TitleResolverTest.
Class
- TitleCallback
- Provides an example title callback for the testDynamicTitle method above.
Namespace
Drupal\Tests\Core\ControllerCode
public function example($value) {
return 'test ' . $value;
}