You are here

abstract protected function RabbitHoleBehaviorSettingsFormTestBase::createEntityBundle in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsFormTestBase::createEntityBundle()

Creates new entity bundle.

Return value

string ID of the created bundle.

10 calls to RabbitHoleBehaviorSettingsFormTestBase::createEntityBundle()
RabbitHoleBehaviorSettingsFormTestBase::testAdministerPermission in tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php
Test the "rabbit hole administer *" permission.
RabbitHoleBehaviorSettingsFormTestBase::testAllowOverrideValue in tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php
Test Rabbit Hole settings with allowed/disallowed overrides.
RabbitHoleBehaviorSettingsFormTestBase::testBundleFormExistingBehavior in tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php
Test that bundle form with a configured bundle behaviour loads config.
RabbitHoleBehaviorSettingsFormTestBase::testBundleFormFirstSave in tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php
Test the first bundle form save with Rabbit Hole configuration.
RabbitHoleBehaviorSettingsFormTestBase::testBundleFormSave in tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php
Test new changes to bundle with existing rabbit hole settings changes key.

... See full list

6 methods override RabbitHoleBehaviorSettingsFormTestBase::createEntityBundle()
GroupBehaviorSettingsFormTest::createEntityBundle in modules/rh_group/tests/src/Functional/GroupBehaviorSettingsFormTest.php
Creates new entity bundle.
MediaBehaviorSettingsFormTest::createEntityBundle in modules/rh_media/tests/src/Functional/MediaBehaviorSettingsFormTest.php
Creates new entity bundle.
NodeBehaviorSettingsFormTest::createEntityBundle in modules/rh_node/tests/src/Functional/NodeBehaviorSettingsFormTest.php
Creates new entity bundle.
ProductBehaviorSettingsFormTest::createEntityBundle in modules/rh_commerce/tests/src/Functional/ProductBehaviorSettingsFormTest.php
Creates new entity bundle.
TaxonomyBehaviorSettingsFormTest::createEntityBundle in modules/rh_taxonomy/tests/src/Functional/TaxonomyBehaviorSettingsFormTest.php
Creates new entity bundle.

... See full list

File

tests/src/Functional/RabbitHoleBehaviorSettingsFormTestBase.php, line 405

Class

RabbitHoleBehaviorSettingsFormTestBase
Base class for the Rabbit Hole form additions tests.

Namespace

Drupal\Tests\rabbit_hole\Functional

Code

protected abstract function createEntityBundle();