You are here

public function EntityCitationRenderTest::providerReferenceEntity in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 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);
}