public function WrapperClassFormatterTest::providerSummaryFormatter in Element Class Formatter 8
Provider for ::testTextWithSummary().
Return value
array Test cases.
File
- tests/
src/ Functional/ WrapperClassFormatterTest.php, line 80
Class
- WrapperClassFormatterTest
- Functional tests for the mailto link with class formatter.
Namespace
Drupal\Tests\element_class_formatter\FunctionalCode
public function providerSummaryFormatter() {
return [
'body' => [
FALSE,
'I am a string',
],
'summary' => [
TRUE,
'I am a summary',
],
'trimmed fallback' => [
FALSE,
'I am a string',
3,
],
];
}