You are here

public function PatternBaseTest::hookLibraryInfoBuildDataProvider in UI Patterns 8

Data provider for rendering tests.

The actual data is read from fixtures stored in a YAML configuration.

Return value

array A set of dump data for testing.

File

tests/src/Kernel/Plugin/PatternBaseTest.php, line 37

Class

PatternBaseTest
@coversDefaultClass \Drupal\ui_patterns\Plugin\PatternBase

Namespace

Drupal\Tests\ui_patterns\Kernel\Plugin

Code

public function hookLibraryInfoBuildDataProvider() {
  return $this
    ->getFixtureContent('libraries.yml');
}