abstract protected function TaxonomyEntityIndexKernelTestBase::createBundles in Taxonomy Entity Index 8
Creates bundles required for testing the given entity type.
Parameters
string $entity_type_id: Entity Type ID to create bundles for.
Return value
array Array of bundle IDs created
1 call to TaxonomyEntityIndexKernelTestBase::createBundles()
- TaxonomyEntityIndexKernelTestBase::setUp in tests/
src/ Kernel/ TaxonomyEntityIndexKernelTestBase.php
2 methods override TaxonomyEntityIndexKernelTestBase::createBundles()
- TaxonomyEntityIndexEntityTest::createBundles in tests/
src/ Kernel/ TaxonomyEntityIndexEntityTest.php - Creates bundles required for testing the given entity type.
- TaxonomyEntityIndexFieldNamesTest::createBundles in tests/
src/ Kernel/ TaxonomyEntityIndexFieldNamesTest.php - Creates bundles required for testing the given entity type.
File
- tests/
src/ Kernel/ TaxonomyEntityIndexKernelTestBase.php, line 68
Class
- TaxonomyEntityIndexKernelTestBase
- Defines a base class for taxonomy entity index kernel tests.
Namespace
Drupal\Tests\taxonomy_entity_index\KernelCode
protected abstract function createBundles($entity_type_id);