Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| UninstallTest | class | core/ |
Tests the uninstallation of modules. |
| UninstallTest.php | file | core/ |
|
| UninstallTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| UninstallTest::$modules | property | core/ |
Modules to enable. |
| UninstallTest::testFailedInstallStatus | function | core/ |
Tests that a module which fails to install can still be uninstalled. |
| UninstallTest::testUninstallPage | function | core/ |
Tests the Uninstall page and Uninstall confirmation page. |
| UninstallTest::testUserPermsUninstalled | function | core/ |
Tests the hook_modules_uninstalled() of the user module. |
| UniqueFieldConstraint | class | core/ |
Checks if an entity field has a unique value. |
| UniqueFieldConstraint.php | file | core/ |
|
| UniqueFieldConstraint::$message | property | core/ |
|
| UniqueFieldConstraint::validatedBy | function | core/ |
|
| UniqueFieldConstraintTest | class | core/ |
Tests the unique field value validation constraint. |
| UniqueFieldConstraintTest.php | file | core/ |
|
| UniqueFieldConstraintTest::$modules | property | core/ |
Modules to enable. |
| UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation | function | core/ |
Data provider for ::testEntityWithStringIdWithViolation(). |
| UniqueFieldConstraintTest::testEntityWithStringId | function | core/ |
Tests cases where the validation passes for entities with string IDs. |
| UniqueFieldConstraintTest::testEntityWithStringIdWithViolation | function | core/ |
Tests cases when validation raises violations for entities with string IDs. |
| UniquePathAliasConstraint | class | core/ |
Validation constraint for unique path alias values. |
| UniquePathAliasConstraint.php | file | core/ |
|
| UniquePathAliasConstraint::$differentCapitalizationMessage | property | core/ |
Violation message when the path alias exists with different capitalization. |
| UniquePathAliasConstraint::$message | property | core/ |
The default violation message. |
| UniquePathAliasConstraintValidator | class | core/ |
Constraint validator for a unique path alias. |
| UniquePathAliasConstraintValidator.php | file | core/ |
|
| UniquePathAliasConstraintValidator::$entityTypeManager | property | core/ |
The entity type manager. |
| UniquePathAliasConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
| UniquePathAliasConstraintValidator::validate | function | core/ |
|
| UniquePathAliasConstraintValidator::__construct | function | core/ |
Creates a new UniquePathAliasConstraintValidator instance. |
| unique_field_constraint_test.info.yml | file | core/ |
core/modules/system/tests/modules/unique_field_constraint_test/unique_field_constraint_test.info.yml |
| unique_field_constraint_test.module | file | core/ |
Contains unique_field_constraint_test.module |
| unique_field_constraint_test_entity_base_field_info_alter | function | core/ |
Implements hook_entity_base_field_info_alter(). |
| UnitTestCase | class | core/ |
Provides a base class and helpers for Drupal unit tests. |
| UnitTestCase.php | file | core/ |
|
| UnitTestCase::$randomGenerator | property | core/ |
The random generator. |
| UnitTestCase::$root | property | core/ |
The app root. |
| UnitTestCase::assertArrayEquals | function | core/ |
Asserts if two arrays are equal by sorting them first. |
| UnitTestCase::getBlockMockWithMachineName | function | core/ |
Mocks a block with a block plugin. |
| UnitTestCase::getClassResolverStub | function | core/ |
Returns a stub class resolver. |
| UnitTestCase::getConfigFactoryStub | function | core/ |
Returns a stub config factory that behaves according to the passed array. |
| UnitTestCase::getConfigStorageStub | function | core/ |
Returns a stub config storage that returns the supplied configuration. |
| UnitTestCase::getContainerWithCacheTagsInvalidator | function | core/ |
Sets up a container with a cache tags invalidator. |
| UnitTestCase::getRandomGenerator | function | core/ |
Gets the random generator for the utility methods. |
| UnitTestCase::getStringTranslationStub | function | core/ |
Returns a stub translation manager that just returns the passed string. |
| UnitTestCase::randomMachineName | function | core/ |
Generates a unique random string containing letters and numbers. |
| UnitTestCase::setUp | function | core/ |
|
| UnitTestCaseDeprecationTest | class | core/ |
@coversDefaultClass \Drupal\Tests\UnitTestCase[[api-linebreak]] |
| UnitTestCaseDeprecationTest.php | file | core/ |
|
| UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName | function | core/ |
@covers ::getBlockMockWithMachineName[[api-linebreak]] @expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies… |
| UnitTestSuite | class | core/ |
Discovers tests for the unit test suite. |
| UnitTestSuite.php | file | core/ |
|
| UnitTestSuite::suite | function | core/ |
Factory method which loads up a suite with all unit tests. |
Pagination
- Previous page
- Page 1291
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.