You are here

public function ExtraFieldDisplayPluginTest::displayPluginProvider in Extra Field 8.2

Data provider for basic display plugins.

Return value

array Contains:

  • Plugin ID.
  • Plugin output as returned by ::view.

File

tests/src/Kernel/ExtraFieldDisplayPluginTest.php, line 108

Class

ExtraFieldDisplayPluginTest
Kernel test for Extra Field display plugins.

Namespace

Drupal\Tests\extra_field\Kernel

Code

public function displayPluginProvider() {
  $info[] = [
    'all_node_types_test',
    [
      '#markup' => 'Output from AllNodeTypesTest',
    ],
  ];
  return $info;
}