You are here

public function TitleResolverTest::providerTestStaticTitleWithParameter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php \Drupal\Tests\Core\Controller\TitleResolverTest::providerTestStaticTitleWithParameter()

File

core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php, line 106
Contains \Drupal\Tests\Core\Controller\TitleResolverTest.

Class

TitleResolverTest
@coversDefaultClass \Drupal\Core\Controller\TitleResolver @group Controller

Namespace

Drupal\Tests\Core\Controller

Code

public function providerTestStaticTitleWithParameter() {
  return array(
    array(
      'static title @test',
      'static title value',
    ),
    array(
      'static title !test',
      'static title value',
    ),
    array(
      'static title %test',
      'static title value',
    ),
  );
}