function TestController::testTitle
Same name in other branches
- 9 core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\display\TestController::testTitle()
- 8.9.x core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\display\TestController::testTitle()
- 10 core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\display\TestController::testTitle()
A page title callback.
Return value
string The page title.
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PathPluginBaseTest.php, line 600
Class
- TestController
- A page controller for use by tests in this file.
Namespace
Drupal\Tests\views\Unit\Plugin\displayCode
public function testTitle() {
return 'Test title';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.