protected function TaxonomyBehaviorSettingsFormTest::createEntityBundle in Rabbit Hole 8
Same name and namespace in other branches
- 2.x modules/rh_taxonomy/tests/src/Functional/TaxonomyBehaviorSettingsFormTest.php \Drupal\Tests\rh_taxonomy\Functional\TaxonomyBehaviorSettingsFormTest::createEntityBundle()
Creates new entity bundle.
Return value
string ID of the created bundle.
Overrides RabbitHoleBehaviorSettingsFormTestBase::createEntityBundle
File
- modules/
rh_taxonomy/ tests/ src/ Functional/ TaxonomyBehaviorSettingsFormTest.php, line 43
Class
- TaxonomyBehaviorSettingsFormTest
- Test the functionality of the rabbit hole form additions to the taxonomy.
Namespace
Drupal\Tests\rh_taxonomy\FunctionalCode
protected function createEntityBundle() {
$this->bundle = $this
->createVocabulary();
return $this->bundle
->id();
}