| EntityFormTest::doTestMultilingualFormCRUD |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Executes the multilingual form CRUD tests for the given entity type ID. |
| EntityFormTest::loadEntityByName |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Loads a test entity by name always resetting the storage cache. |
| EntityFormTest::providerTestFormIds |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Provides test data for testFormId(). |
| EntityFormTest::setUp |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
|
| EntityFormTest::setUp |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
|
| EntityFormTest::setUpStorage |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Sets up the storage accessed via the entity type manager in the form. |
| EntityFormTest::testAddPageWithMultipleParameters |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests the route add-page with multiple parameters. |
| EntityFormTest::testCopyFormValuesToEntity |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests copy form values to entity. |
| EntityFormTest::testEntityFormDisplayAlter |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests hook_entity_form_display_alter(). |
| EntityFormTest::testEntityFormModeAlter |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests hook_entity_form_mode_alter() and hook_ENTITY_TYPE_form_mode_alter(). |
| EntityFormTest::testFormCRUD |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests basic form CRUD functionality. |
| EntityFormTest::testFormId |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests the form ID generation. |
| EntityFormTest::testGetEntityFromRouteMatchAdd |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() for add forms without a bundle. |
| EntityFormTest::testGetEntityFromRouteMatchAddEntity |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() with a config entity bundle. |
| EntityFormTest::testGetEntityFromRouteMatchAddStatic |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() with a static bundle. |
| EntityFormTest::testGetEntityFromRouteMatchEditDelete |
function |
core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php |
Tests EntityForm::getEntityFromRouteMatch() for edit and delete forms. |
| EntityFormTest::testMultilingualFormCRUD |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Tests basic multilingual form CRUD functionality. |
| EntityFormTest::testValidationHandlers |
function |
core/modules/system/tests/src/Functional/Entity/EntityFormTest.php |
Checks that validation handlers works as expected. |
| EntityHasFieldConstraintValidatorTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Tests Entity Has Field Constraint Validator. |
| EntityHasFieldConstraintValidatorTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
|
| EntityHasFieldConstraintValidatorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Modules to install. |
| EntityHasFieldConstraintValidatorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
|
| EntityHasFieldConstraintValidatorTest::testValidation |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php |
Tests validation of an entity with a field. |
| EntityKernelTestBase |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Defines an abstract test base for entity kernel tests. |
| EntityKernelTestBase.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
|
| EntityKernelTestBase::$entityTypeManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
The entity type manager service. |
| EntityKernelTestBase::$modules |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Modules to install. |
| EntityKernelTestBase::$state |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
The state service. |
| EntityKernelTestBase::createUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Creates a user. |
| EntityKernelTestBase::getHooksInfo |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Returns the entity_test hook invocation info. |
| EntityKernelTestBase::installModule |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Installs a module and refreshes services. |
| EntityKernelTestBase::refreshServices |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Refresh services. |
| EntityKernelTestBase::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
|
| EntityKernelTestBase::uninstallModule |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php |
Uninstalls a module and refreshes services. |
| EntityKernelTestBaseTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
Tests Entity Kernel Test Base. |
| EntityKernelTestBaseTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
|
| EntityKernelTestBaseTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
|
| EntityKernelTestBaseTest::testSetUpCurrentUser |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php |
Tests that the current user is set up correctly. |
| EntityKeysTest |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Test the behavior of entity keys. |
| EntityKeysTest.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
|
| EntityKeysTest::multipleKeysCacheTestCases |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Data provider for ::testMultipleKeysCache. |
| EntityKeysTest::testMultipleKeysCache |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php |
Tests the cache when multiple keys reference a single field. |
| EntityLabelTest |
class |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
Tests that entity type labels use sentence-case. |
| EntityLabelTest.php |
file |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
|
| EntityLabelTest::testEntityLabelCasing |
function |
core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php |
Tests that entity type labels use sentence-case. |
| EntityLanguageTestBase |
class |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
Base class for language-aware entity tests. |
| EntityLanguageTestBase.php |
file |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
|
| EntityLanguageTestBase::$fieldName |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The test field name. |
| EntityLanguageTestBase::$langcodes |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The available language codes. |
| EntityLanguageTestBase::$languageManager |
property |
core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php |
The language manager service. |