You are here

public function EntityReferenceLabelClassFormatterTest::providerFormatterCases in Element Class Formatter 8

Data provider for ::testClassFormatter().

Return value

array Test cases.

File

tests/src/Functional/EntityReferenceLabelClassFormatterTest.php, line 52

Class

EntityReferenceLabelClassFormatterTest
Functional tests for the entity reference label with class formatter.

Namespace

Drupal\Tests\element_class_formatter\Functional

Code

public function providerFormatterCases() {
  return [
    'linked' => [],
    'not linked' => [
      FALSE,
      'div',
    ],
  ];
}