class TestController
A page controller for use by tests in this file.
Hierarchy
- class \Drupal\Tests\views\Unit\Plugin\display\TestController
Expanded class hierarchy of TestController
File
-
core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PathPluginBaseTest.php, line 592
Namespace
Drupal\Tests\views\Unit\Plugin\displayView source
class TestController {
/**
* A page title callback.
*
* @return string
* The page title.
*/
public function testTitle() {
return 'Test title';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestController::testTitle | public | function | A page title callback. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.