You are here

public function EntityCitationRenderTest::providerReferenceEntity in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/tests/src/Kernel/EntityCitationRenderTest.php \Drupal\Tests\bibcite_entity\Kernel\EntityCitationRenderTest::providerReferenceEntity()

Get test data from YAML.

Return value

array Data for test.

File

modules/bibcite_entity/tests/src/Kernel/EntityCitationRenderTest.php, line 70

Class

EntityCitationRenderTest
Test rendering of entity to citation.

Namespace

Drupal\Tests\bibcite_entity\Kernel

Code

public function providerReferenceEntity() {
  $yaml_text = file_get_contents(__DIR__ . '/data/testEntityRender.data.yml');
  return Yaml::parse($yaml_text);
}