You are here

public function HtmlTitleFormatterTest::htmlTitleFormatterDataProvider in HTML Title 8

Data provider for testHtmlTitleFormatter().

See also

testHtmlTitleFormatter()

File

tests/src/Kernel/HtmlTitleFormatterTest.php, line 113

Class

HtmlTitleFormatterTest
Test the HTML Title formatter.

Namespace

Drupal\Tests\html_title\Kernel

Code

public function htmlTitleFormatterDataProvider() {
  return [
    [
      'Test <sup>sup</sup>-tag',
      'Test <sup>sup</sup>-tag',
    ],
    [
      'Test p-tag',
      'Test <p>p</p>-tag',
    ],
  ];
}