You are here

protected function ExampleContentTrait::setUpExampleStructure in Facets 8

Sets up the necessary bundles on the test entity type.

13 calls to ExampleContentTrait::setUpExampleStructure()
AggregatedFieldTest::setUp in tests/src/Functional/AggregatedFieldTest.php
BreadcrumbIntegrationTest::setUp in tests/src/Functional/BreadcrumbIntegrationTest.php
FacetsUrlGeneratorTest::setUp in tests/src/Functional/FacetsUrlGeneratorTest.php
HierarchicalFacetIntegrationTest::setUp in tests/src/Functional/HierarchicalFacetIntegrationTest.php
HierarchicalFacetIntegrationTest::setUp in modules/facets_summary/tests/src/Functional/HierarchicalFacetIntegrationTest.php

... See full list

File

tests/src/Functional/ExampleContentTrait.php, line 22

Class

ExampleContentTrait
Contains helpers to create data that can be used by tests.

Namespace

Drupal\Tests\facets\Functional

Code

protected function setUpExampleStructure() {
  entity_test_create_bundle('item', NULL, 'entity_test_mulrev_changed');
  entity_test_create_bundle('article', NULL, 'entity_test_mulrev_changed');
}