You are here

public function TestController::testTitle in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\display\TestController::testTitle()
  2. 9 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 583
Contains \Drupal\Tests\views\Unit\Plugin\display\PathPluginBaseTest.

Class

TestController
A page controller for use by tests in this file.

Namespace

Drupal\Tests\views\Unit\Plugin\display

Code

public function testTitle() {
  return 'Test title';
}