Search for test
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Test | class | core/ |
Provides test media source. |
| Test | class | core/ |
Defines a test controller for page titles. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityUpdateTest | class | core/ |
Tests updating an entity. |
| EntityUpdateTest.php | file | core/ |
|
| EntityUpdateTest::$modules | property | core/ |
Modules to enable. |
| EntityUpdateTest::setUp | function | core/ |
|
| EntityUpdateTest::testEntityUpdate | function | core/ |
Tests updating an existing entity. |
| EntityUrlLanguageTest | class | core/ |
Tests the language of entity URLs. @group language |
| EntityUrlLanguageTest.php | file | core/ |
|
| EntityUrlLanguageTest::$entity | property | core/ |
The entity being used for testing. |
| EntityUrlLanguageTest::$modules | property | core/ |
Modules to enable. |
| EntityUrlLanguageTest::createTranslatableEntity | function | core/ |
Creates a translated entity. |
| EntityUrlLanguageTest::setCurrentRequestForRoute | function | core/ |
Sets the current request to a specific path with the corresponding route. |
| EntityUrlLanguageTest::setUp | function | core/ |
|
| EntityUrlLanguageTest::testEntityUrlLanguage | function | core/ |
Ensures that entity URLs in a language have the right language prefix. |
| EntityUrlLanguageTest::testEntityUrlLanguageWithLanguageContentEnabled | function | core/ |
Ensures correct entity URLs with the method language-content-entity enabled. |
| EntityUrlTest | class | core/ |
Tests URL handling of the \Drupal\Core\Entity\EntityBase class. |
| EntityUrlTest.php | file | core/ |
|
| EntityUrlTest::$entityId | property | core/ |
The ID of the entity used in this test. |
| EntityUrlTest::$entityType | property | core/ |
The entity type mock used in this test. |
| EntityUrlTest::$entityTypeBundleInfo | property | core/ |
The entity type bundle info service mock used in this test. |
| EntityUrlTest::$entityTypeId | property | core/ |
The ID of the entity type used in this test. |
| EntityUrlTest::$langcode | property | core/ |
The language code of the entity used in this test. |
| EntityUrlTest::$revisionId | property | core/ |
The revision ID of the entity used in this test. |
| EntityUrlTest::assertUrl | function | core/ |
Asserts that a given URL object matches the expectations. |
| EntityUrlTest::DEFAULT_REVISION | constant | core/ |
Indicator for default revisions. |
| EntityUrlTest::getEntity | function | core/ |
Returns a mock entity for testing. |
| EntityUrlTest::HAS_BUNDLE_KEY | constant | core/ |
Indicator that the test entity type has a bundle key. |
| EntityUrlTest::HAS_NO_BUNDLE_KEY | constant | core/ |
Indicator that the test entity type has no bundle key. |
| EntityUrlTest::NON_DEFAULT_REVISION | constant | core/ |
Indicator for non-default revisions. |
| EntityUrlTest::providerTestToUrlLinkTemplateAddForm | function | core/ |
Provides data for testToUrlLinkTemplateAddForm(). |
| EntityUrlTest::providerTestToUrlLinkTemplateNoId | function | core/ |
Provides data for testToUrlLinkTemplateNoId(). |
| EntityUrlTest::providerTestToUrlLinkTemplateRevision | function | core/ |
Provides data for testToUrlLinkTemplateRevision(). |
| EntityUrlTest::providerTestToUrlLinkTemplates | function | core/ |
Provides data for testToUrlLinkTemplates(). |
| EntityUrlTest::providerTestToUrlUriCallback | function | core/ |
Provides data for testToUrlUriCallback(). |
| EntityUrlTest::providerTestToUrlUriCallbackUndefined | function | core/ |
Provides data for testToUrlUriCallbackUndefined(). |
| EntityUrlTest::registerBundleInfo | function | core/ |
Registers bundle information for the mock entity type. |
| EntityUrlTest::registerLinkTemplate | function | core/ |
Registers a link template for the mock entity. |
| EntityUrlTest::testToUrlLinkTemplateAddForm | function | core/ |
Tests the toUrl() method with the 'revision' link template. |
| EntityUrlTest::testToUrlLinkTemplateNoId | function | core/ |
Tests the toUrl() method with link templates without an entity ID. |
| EntityUrlTest::testToUrlLinkTemplateRevision | function | core/ |
Tests the toUrl() method with the 'revision' link template. |
| EntityUrlTest::testToUrlLinkTemplates | function | core/ |
Tests the toUrl() method with simple link templates. |
| EntityUrlTest::testToUrlNoId | function | core/ |
Tests the toUrl() method without an entity ID. |
| EntityUrlTest::testToUrlUriCallback | function | core/ |
Tests the toUrl() method with a URI callback. |
| EntityUrlTest::testToUrlUriCallbackUndefined | function | core/ |
Tests the toUrl() method with neither link templates nor a URI callback. |
| EntityUrlTest::testUriRelationships | function | core/ |
Tests the uriRelationships() method. |
| EntityUUIDTest | class | core/ |
Tests creation, saving, and loading of entity UUIDs. |
| EntityUUIDTest.php | file | core/ |
|
| EntityUUIDTest::assertCRUD | function | core/ |
Executes the UUID CRUD tests for the given entity type. |
| EntityUUIDTest::setUp | function | core/ |
|
| EntityUUIDTest::testCRUD | function | core/ |
Tests UUID generation in entity CRUD operations. |
| EntityValidationTest | class | core/ |
Tests the Entity Validation API. |
Pagination
- Previous page
- Page 245
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.