You are here
523 calls to Drupal::state() in Drupal 10
- ActiveWorkspaceUpdateTest::testActiveWorkspaceDuringUpdate in core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
- Tests that there is no active workspace during database updates.
- AdvisoriesTestHttpClient::get in core/modules/system/tests/modules/advisory_feed_test/src/AdvisoriesTestHttpClient.php
- AdvisoriesTestHttpClient::setTestEndpoint in core/modules/system/tests/modules/advisory_feed_test/src/AdvisoriesTestHttpClient.php
- Sets the test endpoint for the advisories JSON feed.
- AliasTest::setUp in core/modules/path_alias/tests/src/Kernel/AliasTest.php
- AreaEntityTest::testEntityArea in core/modules/views/tests/src/Kernel/Handler/AreaEntityTest.php
- Tests the area handler.
- AttachedAssetsTest::testDynamicLibrary in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
- Dynamically defines an asset library and alters it.
- BaseFieldAccessTest::setUp in core/modules/views/tests/src/Functional/Entity/BaseFieldAccessTest.php
- BasicAuthTestController::modifyState in core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php
- BasicAuthTestController::readState in core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php
- batch_test_stack in core/modules/system/tests/modules/batch_test/batch_test.module
- Helper function: Stores or retrieves traced execution data.
- BlockCacheTest::testCachePermissions in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests a cacheable block without any additional cache context.
- BlockCacheTest::testCachePerPage in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "url" cache context.
- BlockCacheTest::testCachePerRole in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "user.roles" cache context.
- BlockCacheTest::testCachePerUser in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "user" cache context.
- BlockCacheTest::testNoCache in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests non-cacheable block.
- BlockHtmlTest::setUp in core/modules/block/tests/src/Functional/BlockHtmlTest.php
- BlockTest::testBlockAccess in core/modules/block/tests/src/Functional/BlockTest.php
- Tests the block access.
- BlockViewBuilderTest::setUp in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- BlockViewBuilderTest::testBasicRendering in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- Tests the rendering of blocks.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- Tests block build altering.
- BlockViewBuilderTest::testBlockViewBuilderCache in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- Tests block render cache handling.
- BlockViewBuilderTest::testBlockViewBuilderViewAlter in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- Tests block view altering.
- BlockXssTest::testXssInTitle in core/modules/block/tests/src/Functional/BlockXssTest.php
- Tests XSS in title.
- block_test_block_alter in core/modules/block/tests/modules/block_test/block_test.module
- Implements hook_block_alter().
- block_test_block_build_test_cache_alter in core/modules/block/tests/modules/block_test/block_test.module
- Implements hook_block_build_BASE_BLOCK_ID_alter().
- block_test_block_view_test_cache_alter in core/modules/block/tests/modules/block_test/block_test.module
- Implements hook_block_view_BASE_BLOCK_ID_alter().
- BookTest::testBookNavigationCacheContext in core/modules/book/tests/src/Functional/BookTest.php
- Tests the book navigation cache context.
- book_test_page_attachments in core/modules/book/tests/modules/book_test/book_test.module
- Implements hook_page_attachments().
- BooleanFieldTest::testFormAccess in core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
- Tests field access.
- BrowserTestBaseTest::testCronRun in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
- Tests the ::cronRun() method.
- BubblingTest::bubblingNestedPreRenderCached in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
- #pre_render callback for testBubblingWithPrerender().
- BubblingTest::bubblingNestedPreRenderUncached in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
- #pre_render callback for testBubblingWithPrerender().
- BulkFormAccessTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormAccessTest.php
- CacheabilityMetadataConfigOverride::loadOverrides in core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
- CacheabilityMetadataConfigOverrideIntegrationTest::setUp in core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
- CacheabilityMetadataConfigOverrideIntegrationTest::testConfigOverride in core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
- Tests if config overrides correctly set cacheability metadata.
- CacheTest::testCacheContextIntegration in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
- Tests the cache context integration for views result cache.
- CaseInsensitivePathTest::setUp in core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php
- CKEditor4to5UpgradeCompletenessTest::testLyingUpgradePluginForCKEditor4Button in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests detecting a lying upgrade plugin cke4_button annotation.
- CKEditor4to5UpgradeCompletenessTest::testLyingUpgradePluginForCKEditor4PluginSettings in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests detecting a lying upgrade plugin cke4_plugin_settings annotation.
- CKEditor4to5UpgradeCompletenessTest::testLyingUpgradePluginForCKEditor5ConfigurableSubsetPlugin in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests detecting lying cke5_plugin_elements_subset_configuration annotation.
- CKEditor4to5UpgradeCompletenessTest::testOnlyOneUpgradePluginAllowedPerCKEditor4Button in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests that only one plugin can provide an upgrade path for a button.
- CKEditor4to5UpgradeCompletenessTest::testOnlyOneUpgradePluginAllowedPerCKEditor4PluginSettings in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests that only one plugin can provide an upgrade path for plugin settings.
- CKEditor4to5UpgradeCompletenessTest::testOnlyOneUpgradePluginAllowedPerCKEditor5ConfigurableSubsetPlugin in core/modules/ckeditor5/tests/src/Kernel/CKEditor4to5UpgradeCompletenessTest.php
- Tests that only one plugin can provide an upgrade path for a subset plugin.
- ckeditor4to5upgrade_plugin_test_ckeditor4to5upgrade_plugin_info_alter in core/modules/ckeditor5/tests/modules/ckeditor4to5upgrade_plugin_test/ckeditor4to5upgrade_plugin_test.module
- Implements hook_ckeditor4to5upgrade_plugin_info_alter().
- CKEditorIntegrationTest::testOffCanvasStyles in core/modules/ckeditor/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
- Tests if CKEditor is properly styled inside an off-canvas dialog.
- CKEditorLoadingTest::testLoading in core/modules/ckeditor/tests/src/Functional/CKEditorLoadingTest.php
- Tests loading of CKEditor CSS, JS and JS settings.
- ckeditor_library_info_alter in core/modules/ckeditor/ckeditor.module
- Implements hook_library_info_alter().
- CommentAttributesTest::testCommentRdfaMarkup in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
- Tests if RDFa markup for meta information is present in comments.
- CommentAttributesTest::testCommentRdfAuthorMarkup in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
- Tests comment author link markup has not been broken by RDF.
- CommentLanguageTest::setUp in core/modules/comment/tests/src/Functional/CommentLanguageTest.php
- CommentPreviewTest::testCommentPreview in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
- Tests comment preview.
- CommentStatistics::getRankingInfo in core/modules/comment/src/CommentStatistics.php
- CommentTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/CommentTest.php
- comment_cron in core/modules/comment/comment.module
- Implements hook_cron().
- comment_entity_insert in core/modules/comment/comment.module
- Implements hook_entity_insert().
- comment_install in core/modules/comment/comment.install
- Implements hook_install().
- comment_test_comment_links_alter in core/modules/comment/tests/modules/comment_test/comment_test.module
- Implements hook_comment_links_alter().
- comment_uninstall in core/modules/comment/comment.install
- Implements hook_uninstall().
- common_test_cron_helper_cron in core/modules/system/tests/modules/common_test_cron_helper/common_test_cron_helper.module
- Implements hook_cron().
- common_test_library_info_build in core/modules/system/tests/modules/common_test/common_test.module
- Implements hook_library_info_build().
- common_test_page_attachments in core/modules/system/tests/modules/common_test/common_test.module
- Implements hook_page_attachments().
- common_test_page_attachments_alter in core/modules/system/tests/modules/common_test/common_test.module
- Implements hook_page_attachments_alter().
- common_test_preprocess in core/modules/system/tests/modules/common_test/common_test.module
- Implements MODULE_preprocess().
- common_test_preprocess_common_test_render_element in core/modules/system/tests/modules/common_test/common_test.module
- Implements MODULE_preprocess_HOOK().
- ComputedFieldTest::testComputedFieldHandler in core/modules/views/tests/src/Kernel/Handler/ComputedFieldTest.php
- Tests the computed field handler.
- ComputedReferenceTestFieldItemList::computeValue in core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedReferenceTestFieldItemList.php
- Compute the list property from state.
- ComputedTestFieldItemList::computeValue in core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedTestFieldItemList.php
- Compute the list property from state.
- ConfigDependencyTest::testConfigEntityDelete in core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
- Tests deleting a configuration entity and dependency management.
- ConfigDependencyTest::testConfigEntityUninstallComplex in core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
- Tests complex configuration entity dependency handling during uninstall.
- ConfigDependencyTest::testConfigEntityUninstallThirdParty in core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
- @covers ::uninstall
@covers ::getConfigEntitiesToChangeOnDependencyRemoval
- ConfigDependencyWebTest::testConfigDependencyDeleteFormTrait in core/modules/config/tests/src/Functional/ConfigDependencyWebTest.php
- Tests ConfigDependencyDeleteFormTrait.
- ConfigEntityListTest::testListUI in core/modules/config/tests/src/Functional/ConfigEntityListTest.php
- Tests the listing UI.
- ConfigEntityTest::testCRUD in core/modules/config/tests/src/Functional/ConfigEntityTest.php
- Tests CRUD operations.
- ConfigEntityUpdaterTest::testUpdateDefaultCallback in core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php
- @covers ::update
- ConfigEventsTest::testConfigEvents in core/tests/Drupal/KernelTests/Core/Config/ConfigEventsTest.php
- Tests configuration events.
- ConfigEventsTest::testConfigRenameEvent in core/tests/Drupal/KernelTests/Core/Config/ConfigEventsTest.php
- Tests configuration rename event that is fired from the ConfigFactory.
- ConfigImporterMissingContentTest::testMissingContent in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
- Tests the missing content event is fired.
- ConfigImporterTest::testIsInstallable in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
- Tests the isInstallable method()
- ConfigImporterTest::testIsSyncingInHooks in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
- Tests the isSyncing flags.
- ConfigImportUITest::testBatchErrors in core/modules/config/tests/src/Functional/ConfigImportUITest.php
- Tests that errors set in the batch and on the ConfigImporter are merged.
- ConfigImportUITest::testImport in core/modules/config/tests/src/Functional/ConfigImportUITest.php
- Tests importing configuration.
- ConfigImportUITest::testImportValidation in core/modules/config/tests/src/Functional/ConfigImportUITest.php
- Tests that multiple validation errors are listed on the page.
- ConfigInstallTest::testCollectionInstallationCollectionConfigEntity in core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
- Tests collections which do not support config entities install correctly.
- ConfigInstallTest::testCollectionInstallationCollections in core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
- Tests config objects in collections are installed as expected.
- ConfigOverrideIntegrationTestCacheContext::getContext in core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php
- Returns the string representation of the cache context.
- ConfigOverrider::loadOverrides in core/modules/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php
- Returns config overrides.
- ConfigSchemaTest::testConfigSchemaInfoAlter in core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
- Tests hook_config_schema_info_alter().
- ConfigTest::calculateDependencies in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
- Calculates dependencies and stores them in the dependency property.
- ConfigTest::isInstallable in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
- Checks whether this entity is installable.
- ConfigTest::onDependencyRemoval in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
- Informs the entity that entities it depends on will be deleted.
- ConfigTest::sort in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
- Helper callback for uasort() to sort configuration entities by weight and label.
- config_schema_test_config_schema_info_alter in core/modules/config/tests/config_schema_test/config_schema_test.module
- Implements hook_config_schema_info_alter().
- config_test_config_test_create in core/modules/config/tests/config_test/config_test.hooks.inc
- Implements hook_ENTITY_TYPE_create() for 'config_test'.
- config_translation_test_config_translation_info_alter in core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module
- Implements hook_config_translation_info_alter().
- config_translation_test_form_config_translation_add_form_alter in core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module
- Implements hook_form_FORM_ID_alter() for ConfigTranslationAddForm.
- config_translation_test_form_config_translation_edit_form_alter in core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module
- Implements hook_form_FORM_ID_alter() for ConfigTranslationEditForm.
- config_translation_test_form_config_translation_form_alter in core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module
- Implements hook_form_BASE_FORM_ID_alter() for ConfigTranslationFormBase.
- ContentTranslationLanguageChangeTest::testTitleDoesNotChangesOnChangingLanguageWidgetAndTriggeringAjaxCall in core/modules/content_translation/tests/src/Functional/ContentTranslationLanguageChangeTest.php
- Tests that title does not change on ajax call with new language value.
- content_translation_test_entity_access in core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module
- Implements hook_entity_access().
- content_translation_test_entity_bundle_info_alter in core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module
- Implements hook_entity_bundle_info_alter().
- content_translation_test_form_node_form_submit in core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module
- Form submission handler for custom field added based on a request parameter.
- CronAccessCheck::access in core/modules/system/src/Access/CronAccessCheck.php
- Checks access.
- CronQueueTest::testExceptions in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
- Tests that exceptions thrown by workers are handled properly.
- CronQueueTest::testLeaseTime in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
- Tests that leases are expiring correctly, also within the same request.
- CronQueueTestException::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
- Works on a single queue item.
- CronQueueTestLeaseTime::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
- Works on a single queue item.
- CronQueueTestRequeueException::processItem in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
- Works on a single queue item.
- CronRunTest::testAutomatedCron in core/modules/system/tests/src/Functional/System/CronRunTest.php
- Ensure that the automated cron run module is working.
- CronRunTest::testCronExceptions in core/modules/system/tests/src/Functional/System/CronRunTest.php
- Make sure exceptions thrown on hook_cron() don't affect other modules.
- CronRunTest::testCronRun in core/modules/system/tests/src/Functional/System/CronRunTest.php
- Tests cron runs.
- CronRunTest::testCronUI in core/modules/system/tests/src/Functional/System/CronRunTest.php
- Make sure the cron UI reads from the state storage.
- CronRunTrait::cronRun in core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php
- Runs cron on the test site.
- CronTest::setUp in core/tests/Drupal/Tests/Core/CronTest.php
- DbUpdateController::batchFinished in core/modules/system/src/Controller/DbUpdateController.php
- Finishes the update process and stores the results for eventual display.
- delay_cache_tags_invalidation_entity_test_insert in core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module
- Implements hook_ENTITY_TYPE_insert().
- delay_cache_tags_invalidation_user_insert in core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module
- Implements hook_ENTITY_TYPE_insert().
- DependencyTest::testModuleEnableOrder in core/modules/system/tests/src/Functional/Module/DependencyTest.php
- Tests that module dependencies are enabled in the correct order in the UI.
- DownloadTest::doPrivateFileTransferTest in core/modules/file/tests/src/Functional/DownloadTest.php
- Tests the private file transfer system.
- DrupalFlushAllCachesInInstallerTest::testInstalled in core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php
- Confirms that the installation succeeded.
- DrupalTest::testState in core/tests/Drupal/Tests/Core/DrupalTest.php
- Tests the state() method.
- EditorFileUsageTest::testFileSaveOperations in core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php
- Tests file save operations when node with referenced files is saved.
- EditorLoadingTest::setUp in core/modules/editor/tests/src/Functional/EditorLoadingTest.php
- EditorManagerTest::testManager in core/modules/editor/tests/src/Kernel/EditorManagerTest.php
- Tests the configurable text editor manager.
- EditorSecurityTest::testEditorXssFilterOverride in core/modules/editor/tests/src/Functional/EditorSecurityTest.php
- Tests the standard text editor XSS filter being overridden.
- editor_test_editor_info_alter in core/modules/editor/tests/modules/editor_test.module
- Implements hook_editor_info_alter().
- editor_test_editor_js_settings_alter in core/modules/editor/tests/modules/editor_test.module
- Implements hook_editor_js_settings_alter().
- editor_test_editor_xss_filter_alter in core/modules/editor/tests/modules/editor_test.module
- Implements hook_editor_xss_filter_alter().
- editor_test_file_presave in core/modules/editor/tests/modules/editor_test.module
- Implements hook_ENTITY_TYPE_presave() for file entities.
- element_info_test_element_plugin_alter in core/modules/system/tests/modules/element_info_test/element_info_test.module
- Implements hook_element_plugin_alter().
- EndOfTransactionQueriesTest::testEntitySave in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
- EndOfTransactionQueriesTest::testEntitySaveRollback in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
- EntityFieldTest::testBaseFieldNonExistingBaseField in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
- Tests a base field override on a non-existing base field.
- EntityFieldTest::testComputedFields in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
- Tests all the interaction points of a computed field.
- EntityFieldTest::testEntityReferenceComputedField in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
- Tests an entity reference computed field.
- EntityLoadByUuidTest::testLoadEntityByUuidAccessChecking in core/tests/Drupal/KernelTests/Core/Entity/EntityLoadByUuidTest.php
- Ensures that ::loadEntityByUuid() doesn't apply access checking.
- EntityRevisionsTest::testLoadedRevisionId in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
- Tests getLoadedRevisionId() returns the correct ID throughout the process.
- EntityRevisionsTest::testLoadedRevisionIdWithNoNewRevision in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
- Tests the loaded revision ID after an entity re-save, clone and duplicate.
- EntityRevisionsTest::testSaveInHookEntityInsert in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
- Tests re-saving the entity in entity_test_entity_insert().
- EntityTest::baseFieldDefinitions in core/modules/system/tests/modules/entity_test/src/Entity/EntityTest.php
- Provides base field definitions for an entity type.
- EntityTestForm::save in core/modules/system/tests/modules/entity_test/src/EntityTestForm.php
- Form submission handler for the 'save' action.
- EntityTestUpdate::baseFieldDefinitions in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
- Provides base field definitions for an entity type.
- EntityTestUpdate::bundleFieldDefinitions in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
- Provides field definitions for a specific bundle.
- EntityTestUpdateStorage::saveToDedicatedTables in core/modules/system/tests/modules/entity_test_update/src/EntityTestUpdateStorage.php
- Saves values of fields that use dedicated tables.
- EntityTestUpdateStorageSchema::getEntitySchema in core/modules/system/tests/modules/entity_test_update/src/EntityTestUpdateStorageSchema.php
- Gets the entity schema for the specified entity type.
- EntityTestUpdateStorageSchema::getSharedTableFieldSchema in core/modules/system/tests/modules/entity_test_update/src/EntityTestUpdateStorageSchema.php
- Gets the schema for a single field definition.
- EntityTestViewsData::getViewsData in core/modules/system/tests/modules/entity_test/src/EntityTestViewsData.php
- Returns views data for the entity type.
- EntityTranslationFormTest::setUp in core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
- EntityTranslationFormTest::testEntityFormLanguage in core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
- Tests entity form language.
- EntityTranslationTest::testDeleteEntityTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
- Tests if entity translation statuses are correct after removing two
translation.
- EntityTypeConstraintsTest::testConstraintDefinition in core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php
- Tests defining entity constraints via entity type annotations and hooks.
- entity_schema_test_entity_base_field_info in core/modules/system/tests/modules/entity_schema_test/entity_schema_test.module
- Implements hook_entity_base_field_info().
- entity_schema_test_entity_type_alter in core/modules/system/tests/modules/entity_schema_test/entity_schema_test.module
- Implements hook_entity_type_alter().
- entity_test.install in core/modules/system/tests/modules/entity_test/entity_test.install
- Install, update and uninstall functions for the entity_test module.
- entity_test_bundle_class_entity_bundle_info_alter in core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module
- Implements hook_entity_bundle_info_alter().
- entity_test_bundle_class_entity_type_alter in core/modules/system/tests/modules/entity_test_bundle_class/entity_test_bundle_class.module
- Implements hook_entity_type_alter().
- entity_test_constraints_entity_type_alter in core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.module
- Implements hook_entity_type_alter().
- entity_test_constraints_entity_type_build in core/modules/system/tests/modules/entity_test_constraints/entity_test_constraints.module
- Implements hook_entity_type_build().
- entity_test_create_bundle in core/modules/system/tests/modules/entity_test/entity_test.module
- Creates a new bundle for entity_test entities.
- entity_test_delete_bundle in core/modules/system/tests/modules/entity_test/entity_test.module
- Deletes a bundle for entity_test entities.
- entity_test_entity_access in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_access().
- entity_test_entity_base_field_info in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_base_field_info().
- entity_test_entity_base_field_info_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_base_field_info_alter().
- entity_test_entity_bundle_info in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_bundle_info().
- entity_test_entity_bundle_info_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_bundle_info_alter().
- entity_test_entity_create_access in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_create_access().
- entity_test_entity_field_access in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_field_access().
- entity_test_entity_test_access in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_ENTITY_TYPE_access() for 'entity_test'.
- entity_test_entity_test_create_access in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_ENTITY_TYPE_create_access() for 'entity_test'.
- entity_test_entity_type_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_type_alter().
- entity_test_entity_update in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_entity_update().
- entity_test_extra_entity_base_field_info in core/modules/system/tests/modules/entity_test_extra/entity_test_extra.module
- Implements hook_entity_base_field_info().
- entity_test_extra_entity_bundle_field_info in core/modules/system/tests/modules/entity_test_extra/entity_test_extra.module
- Implements hook_entity_bundle_field_info().
- entity_test_extra_entity_field_storage_info in core/modules/system/tests/modules/entity_test_extra/entity_test_extra.module
- Implements hook_entity_field_storage_info().
- entity_test_form_entity_test_form_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_form_BASE_FORM_ID_alter().
- entity_test_form_entity_test_form_validate_check in core/modules/system/tests/modules/entity_test/entity_test.module
- Validation handler for the entity_test entity form.
- entity_test_form_node_form_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_form_BASE_FORM_ID_alter().
- entity_test_query_entity_test_access_alter in core/modules/system/tests/modules/entity_test/entity_test.module
- Implements hook_query_entity_test_access_alter().
- entity_test_update_entity_field_storage_info in core/modules/system/tests/modules/entity_test_update/entity_test_update.module
- Implements hook_entity_field_storage_info().
- entity_test_update_entity_type_alter in core/modules/system/tests/modules/entity_test_update/entity_test_update.module
- Implements hook_entity_type_alter().
- entity_test_update_view_presave in core/modules/system/tests/modules/entity_test_update/entity_test_update.module
- Implements hook_ENTITY_TYPE_presave() for the 'view' entity type.
- experimental_module_requirements_test_requirements in core/modules/system/tests/modules/experimental_module_requirements_test/experimental_module_requirements_test.install
- Implements hook_requirements().
- FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesErrorHandling in core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
- Tests that a failed entity schema update preserves the existing data.
- FieldCrudTest::testCreateFieldCustomStorage in core/modules/field/tests/src/Kernel/FieldCrudTest.php
- Tests creating a field with custom storage set.
- FieldCrudTest::testFieldPropertyConstraints in core/modules/field/tests/src/Kernel/FieldCrudTest.php
- Tests setting and adding property constraints to a configurable field.
- FieldFieldAccessTestBase::assertFieldAccess in core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php
- Checks views field access for a given entity type and field name.
- FieldFieldTest::setUp in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
- FieldImportDeleteTest::testImportDelete in core/modules/field/tests/src/Kernel/FieldImportDeleteTest.php
- Tests deleting field storages and fields as part of config import.
- FieldImportDeleteUninstallTest::testImportAlreadyDeletedUninstall in core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
- Tests purging already deleted field storages and fields during a config
import.
- FieldImportDeleteUninstallTest::testImportDeleteUninstall in core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
- Tests deleting field storages and fields as part of config import.
- FieldImportDeleteUninstallUiTest::testImportDeleteUninstall in core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php
- Tests deleting field storages and fields as part of config import.
- FieldLayoutTest::testRegionChanges in core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
- Tests that changes to the regions still leave the fields visible.
- FieldTestItem::delete in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php
- Defines custom delete behavior for field values.
- field_layout_test_layout_alter in core/modules/field_layout/tests/modules/field_layout_test/field_layout_test.module
- Implements hook_layout_alter().
- field_test_boolean_access_denied_entity_field_access in core/modules/field/tests/modules/field_test_boolean_access_denied/field_test_boolean_access_denied.module
- Implements hook_entity_field_access().
- field_test_entity_bundle_field_info_alter in core/modules/field/tests/modules/field_test/field_test.module
- Implements hook_entity_bundle_field_info_alter().
- field_test_field_widget_info_alter in core/modules/field/tests/modules/field_test/field_test.field.inc
- Implements hook_field_widget_info_alter().
- FileFieldFormatterAccessTest::testFileAccessHandler in core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
- Tests the custom access handler is invoked.
- FileManagedTestBase::assertFileHooksCalled in core/modules/file/tests/src/Functional/FileManagedTestBase.php
- Assert that all of the specified hook_file_* hooks were called once, other
values result in failure.
- FileManagedTestBase::createFile in core/modules/file/tests/src/Functional/FileManagedTestBase.php
- Create a file and save it to the files table and assert that it occurs
correctly.
- FileManagedUnitTestBase::assertFileHooksCalled in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
- Assert that all of the specified hook_file_* hooks were called once, other
values result in failure.
- FileManagedUnitTestBase::createFile in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
- Create a file and save it to the files table and assert that it occurs
correctly.
- FilePrivateTest::setUp in core/modules/file/tests/src/Functional/FilePrivateTest.php
- FilePrivateTest::testPrivateFile in core/modules/file/tests/src/Functional/FilePrivateTest.php
- Tests file access for file uploaded to a private node.
- FileTestAccessControlHandler::checkAccess in core/modules/file/tests/file_test/src/FileTestAccessControlHandler.php
- FileTestForm::submitForm in core/modules/file/tests/file_test/src/Form/FileTestForm.php
- Form submission handler.
- FileTransferAuthorizeFormTest::testViaAuthorize in core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php
- Tests the Update Manager module upload via authorize.php functionality.
- FileUrlGeneratorTest::testGenerateURI in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
- @covers ::generate
- FileUrlGeneratorTest::testGenerateURIWithSchema in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
- @covers ::generate
- FileUrlGeneratorTest::testPublicManagedFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
- Tests the rewriting of public managed file URLs by hook_file_url_alter().
- FileUrlGeneratorTest::testRelativeFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
- Tests generate absolute string with relative URL.
- FileUrlGeneratorTest::testShippedFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
- Tests the rewriting of shipped file URLs by hook_file_url_alter().
- file_test_entity_type_alter in core/modules/file/tests/file_test/file_test.module
- Implements hook_entity_info_alter().
- file_test_file_download in core/modules/file/tests/file_test/file_test.module
- Implements hook_file_download().
- file_test_file_url_alter in core/modules/file/tests/file_test/file_test.module
- Implements hook_file_url_alter().
- file_test_get_all_calls in core/modules/file/tests/file_test/file_test.module
- Get an array with the calls for all hooks.
- file_test_get_calls in core/modules/file/tests/file_test/file_test.module
- Get the arguments passed to invocation of a given hook since
file_test_reset() was last called.
- file_test_reset in core/modules/file/tests/file_test/file_test.module
- Reset/initialize the history of calls to the file_* hooks.
- file_test_set_return in core/modules/file/tests/file_test/file_test.module
- Assign a return value for a given operation.
- FilterNodeAccessTest::setUp in core/modules/node/tests/src/Functional/Views/FilterNodeAccessTest.php
- FormCacheTest::testCacheToken in core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
- Tests the form cache with a logged-in user.
- FormTest::widgetAlterTest in core/modules/field/tests/src/Functional/FormTest.php
- Tests widget alter hooks for a given hook name.
- ForumNodeAccessTest::setUp in core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php
- forum_install in core/modules/forum/forum.install
- Implements hook_install().
- forum_uninstall in core/modules/forum/forum.install
- Implements hook_uninstall().
- FrontPageTest::setUp in core/modules/system/tests/src/Functional/System/FrontPageTest.php
- HelpTestTwigNodeVisitor::getState in core/modules/help_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php
- Returns the state information.
- HelpTestTwigNodeVisitor::setStateValue in core/modules/help_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php
- Sets state information.
- HelpTopicSearchTest::testHelpSearch in core/modules/help_topics/tests/src/Functional/HelpTopicSearchTest.php
- Tests help topic search.
- HelpTopicTest::testHelp in core/modules/help_topics/tests/src/Functional/HelpTopicTest.php
- Tests the main help page and individual pages for topics.
- help_topics_test_help_topics_info_alter in core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.module
- Implements hook_help_topics_info_alter().
- hook_cron in core/core.api.php
- Perform periodic actions.
- hook_install in core/lib/Drupal/Core/Extension/module.api.php
- Perform setup tasks when the module is installed.
- hook_install_tasks in core/lib/Drupal/Core/Extension/module.api.php
- Return an array of tasks to be performed by an installation profile.
- hook_modules_installed in core/lib/Drupal/Core/Extension/module.api.php
- Perform necessary actions after modules are installed.
- hook_modules_uninstalled in core/lib/Drupal/Core/Extension/module.api.php
- Perform necessary actions after modules are uninstalled.
- hook_requirements in core/lib/Drupal/Core/Extension/module.api.php
- Check installation requirements and do status reporting.
- hook_themes_uninstalled in core/lib/Drupal/Core/Render/theme.api.php
- Respond to themes being uninstalled.
- hook_uninstall in core/lib/Drupal/Core/Extension/module.api.php
- Remove any information that the module sets.
- HtmlResponseAttachmentsProcessor::processAssetLibraries in core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
- Processes asset libraries into render arrays.
- ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
- Tests building an image style URL.
- image_module_test_file_download in core/modules/image/tests/modules/image_module_test/image_module_test.module
- image_module_test_image_effect_info_alter in core/modules/image/tests/modules/image_module_test/image_module_test.module
- Implements hook_image_effect_info_alter().
- InfoAlterTest::testSystemInfoAlter in core/modules/system/tests/src/Kernel/System/InfoAlterTest.php
- Tests that theme .info.yml data is rebuild after enabling a module.
- InstallerRouterTest::testInstalled in core/tests/Drupal/FunctionalTests/Installer/InstallerRouterTest.php
- Confirms that the installation succeeded.
- InstallerTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
- Ensures that the user page is available after installation.
- install_finished in core/includes/install.core.inc
- Performs final installation steps and displays a 'finished' page.
- install_run_task in core/includes/install.core.inc
- Runs an individual installation task.
- install_run_tasks in core/includes/install.core.inc
- Runs all tasks for the current installation request.
- install_verify_completed_task in core/includes/install.core.inc
- Verifies and returns the last installation task that was completed.
- JsonApiRegressionTest::testAliasedFieldsWithVirtualRelationships in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
- Tests that "virtual/missing" resources can exist for renamed fields.
- LanguageConfigOverrideImportTest::testConfigOverrideImportEvents in core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php
- Tests that configuration events are not fired during a sync of overrides.
- LanguageConfigOverrideInstallTest::testLanguageConfigOverrideInstall in core/modules/language/tests/src/Kernel/LanguageConfigOverrideInstallTest.php
- Tests the configuration events are not fired during install of overrides.
- LanguageListModuleInstallTest::testModuleInstallLanguageList in core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php
- Tests enabling Language.
- LanguageUILanguageNegotiationTest::doRunTest in core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
- language_test_language_fallback_candidates_alter in core/modules/language/tests/language_test/language_test.module
- Implements hook_language_fallback_candidates_alter().
- language_test_language_fallback_candidates_test_alter in core/modules/language/tests/language_test/language_test.module
- Implements hook_language_fallback_candidates_OPERATION_alter().
- language_test_language_negotiation_info_alter in core/modules/language/tests/language_test/language_test.module
- Implements hook_language_negotiation_info_alter().
- language_test_language_types_info in core/modules/language/tests/language_test/language_test.module
- Implements hook_language_types_info().
- language_test_language_types_info_alter in core/modules/language/tests/language_test/language_test.module
- Implements hook_language_types_info_alter().
- language_test_module_preinstall in core/modules/language/tests/language_test/language_test.module
- Implements hook_module_preinstall().
- language_test_store_language_negotiation in core/modules/language/tests/language_test/language_test.module
- Store the last negotiated languages.
- LayoutBuilderTest::testBlockPlaceholder in core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
- Tests the usage of placeholders for empty blocks.
- LazyRouteProviderInstallTest::testInstallation in core/tests/Drupal/FunctionalTests/Routing/LazyRouteProviderInstallTest.php
- Tests that the lazy route provider is used during a module install.
- lazy_route_provider_install_test_menu_links_discovered_alter in core/modules/system/tests/modules/lazy_route_provider_install_test/lazy_route_provider_install_test.module
- Implements hook_menu_links_discovered_alter().
- LinkGenerationTest::testHookLinkAlter in core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php
- Tests how hook_link_alter() can affect escaping of the link text.
- link_generation_test_link_alter in core/modules/system/tests/modules/link_generation_test/link_generation_test.module
- Implements hook_link_alter().
- LocaleBuildTest::testBuildProjects in core/modules/locale/tests/src/Kernel/LocaleBuildTest.php
- Checks if a list of translatable projects gets built.
- LocaleConfigTranslationImportTest::testConfigTranslationImport in core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
- Tests update changes configuration translations if enabled after language.
- LocaleJavascriptTranslationTest::testLocaleTranslationJsDependencies in core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
- Assert translations JS is added before drupal.js, because it depends on it.
- LocaleLocaleLookupTest::testLanguageFallbackDefaults in core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php
- Tests language fallback defaults.
- LocaleTranslationProjectsTest::setUp in core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php
- LocaleTranslationUiTest::testJavaScriptTranslation in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
- Adds a language and checks that the JavaScript translation files are
properly created and rebuilt on deletion.
- LocaleUpdateBase::setTranslationFiles in core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
- Setup the environment containing local and remote translation files.
- LocaleUpdateCronTest::testUpdateCron in core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php
- Tests interface translation update using cron.
- LocaleUpdateTest::testEnableCustomLanguage in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
- Tests automatic translation import when a custom language is added.
- LocaleUpdateTest::testEnableLanguage in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
- Tests automatic translation import when a language is added.
- LocaleUpdateTest::testEnableUninstallModule in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
- Tests automatic translation import when a module is enabled.
- LocaleUpdateTest::testUpdateCheckStatus in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
- Checks if local or remote translation sources are detected.
- LocaleUpdateTest::testUpdateProjects in core/modules/locale/tests/src/Kernel/LocaleUpdateTest.php
- Checks if a list of translatable projects gets build.
- locale_cache_flush in core/modules/locale/locale.module
- Implements hook_cache_flush().
- locale_js_translate in core/modules/locale/locale.module
- Returns a list of translation files given a list of JavaScript files.
- locale_test_language_fallback_candidates_locale_lookup_alter in core/modules/locale/tests/modules/locale_test/locale_test.module
- Implements hook_language_fallback_candidates_OPERATION_alter().
- locale_test_locale_translation_projects_alter in core/modules/locale/tests/modules/locale_test/locale_test.module
- Implements hook_locale_translation_projects_alter().
- locale_test_system_info_alter in core/modules/locale/tests/modules/locale_test/locale_test.module
- Implements hook_system_info_alter().
- locale_test_uninstall in core/modules/locale/tests/modules/locale_test/locale_test.install
- Implements hook_uninstall().
- locale_translation_batch_fetch_finished in core/modules/locale/locale.batch.inc
- Implements callback_batch_finished().
- locale_translation_batch_status_finished in core/modules/locale/locale.batch.inc
- Implements callback_batch_finished().
- locale_translation_check_projects in core/modules/locale/locale.compare.inc
- Check for the latest release of project translations.
- locale_translation_clear_status in core/modules/locale/locale.module
- Clear the translation status cache.
- locale_translation_status_save in core/modules/locale/locale.module
- Saves the status of translation sources in static cache.
- locale_uninstall in core/modules/locale/locale.install
- Implements hook_uninstall().
- MailTest::testCancelMessage in core/modules/system/tests/src/Kernel/Mail/MailTest.php
- Tests that message sending may be canceled.
- MailTest::testConvertRelativeUrlsIntoAbsolute in core/modules/system/tests/src/Kernel/Mail/MailTest.php
- Checks that relative paths in mails are converted into absolute URLs.
- MailTest::testFromAndReplyToHeader in core/modules/system/tests/src/Kernel/Mail/MailTest.php
- Checks the From: and Reply-to: headers.
- MailTest::testRenderedElementsUseAbsolutePaths in core/modules/system/tests/src/Kernel/Mail/MailTest.php
- Checks that mails built from render arrays contain absolute paths.
- ManageFieldsFunctionalTest::setUp in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- MediaSourceTest::testConstraints in core/modules/media/tests/src/Kernel/MediaSourceTest.php
- Tests the media item constraints functionality.
- MediaSourceTest::testDefaultName in core/modules/media/tests/src/Kernel/MediaSourceTest.php
- Tests default media name functionality.
- MediaSourceTest::testMetadataMapping in core/modules/media/tests/src/Kernel/MediaSourceTest.php
- Tests metadata mapping functionality.
- MediaSourceTest::testThumbnail in core/modules/media/tests/src/Kernel/MediaSourceTest.php
- Tests the thumbnail functionality.
- MenuLinkContentDeriverTest::testRediscover in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php
- Tests the rediscovering.
- MetadataGeneratorTest::testEditorWithCustomMetadata in core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
- Tests a field whose associated in-place editor generates custom metadata.
- MetadataGeneratorTest::testSimpleEntityType in core/modules/quickedit/tests/src/Kernel/MetadataGeneratorTest.php
- Tests a simple entity type, with two different simple fields.
- MigrateEntityContentBaseTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
- MigrateEventsTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateEventsTest.php
- MigrateSourceTestBase::testSource in core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php
- Tests the source plugin against a particular data set.
- MigrateUpgradeTestBase::assertEmailsSent in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
- Confirm emails were sent.
- migrate_skip_all_rows_test_migrate_prepare_row in core/modules/migrate/tests/modules/migrate_skip_all_rows_test/migrate_skip_all_rows_test.module
- Implements hook_migrate_prepare_row().
- MockQuickEditEntityFieldAccessCheck::accessEditEntityField in core/modules/quickedit/tests/modules/src/MockQuickEditEntityFieldAccessCheck.php
- ModuleHandlerTest::testDependencyResolution in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
- Tests dependency resolution.
- ModuleHandlerTest::testUninstallContentDependency in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
- Tests uninstalling a module that has content.
- ModuleHandlerTest::testUninstallProfileDependency in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
- Tests uninstalling a module installed by a profile.
- ModuleInstallerTest::testKernelRebuildDuringHookInstall in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
- Ensure that rebuilding the container in hook_install() works.
- ModulesListFormWebTest::setUp in core/modules/system/tests/src/Functional/Form/ModulesListFormWebTest.php
- module_required_test_system_info_alter in core/modules/system/tests/modules/module_required_test/module_required_test.module
- Implements hook_system_info_alter().
- module_test_install in core/modules/system/tests/modules/module_test/module_test.install
- Implements hook_install().
- module_test_modules_installed in core/modules/system/tests/modules/module_test/module_test.module
- Implements hook_modules_installed().
- module_test_modules_uninstalled in core/modules/system/tests/modules/module_test/module_test.module
- Implements hook_modules_uninstalled().
- module_test_system_info_alter in core/modules/system/tests/modules/module_test/module_test.module
- Implements hook_system_info_alter().
- MonkeysInTheControlRoom::handle in core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
- new_dependency_test_update_8001 in core/modules/system/tests/modules/new_dependency_test/new_dependency_test.install
- Enable the new_dependency_test_with_service module.
- NodeAccessBaseTableTest::setUp in core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
- NodeAccessLanguageTest::setUp in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
- NodeAccessLanguageTest::testNodeAccess in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
- Tests node access with multiple node languages and no private nodes.
- NodeAccessLanguageTest::testNodeAccessPrivate in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
- Tests node access with multiple node languages and private nodes.
- NodeAccessRebuildNodeGrantsTest::testNodeAccessRebuildNoAccessModules in core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php
- Tests rebuilding the node access permissions table with no content.
- NodeAccessRebuildNodeGrantsTest::testNodeAccessRebuildNodeGrants in core/modules/node/tests/src/Functional/NodeAccessRebuildNodeGrantsTest.php
- Tests rebuilding the node access permissions table with content.
- NodeAccessTest::testPageAccess in core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
- Verifies that a non-admin user can still access the appropriate pages.
- NodeEntityViewModeAlterTest::testNodeViewModeChange in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
- Create a "Basic page" node and verify its consistency in the database.
- NodeLanguageTest::testNativeLanguageField in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
- Tests native name display in language field.
- NodeType::isLocked in core/modules/node/src/Entity/NodeType.php
- Determines whether the node type is locked.
- NodeTypeTest::testNodeTypeDeletion in core/modules/node/tests/src/Functional/NodeTypeTest.php
- Tests deleting a content type that still has content.
- node_access_needs_rebuild in core/modules/node/node.module
- Toggles or reads the value of a flag for rebuilding the node access grants.
- node_access_test_node_access in core/modules/node/tests/modules/node_access_test/node_access_test.module
- Implements hook_node_access().
- node_access_test_node_access_records in core/modules/node/tests/modules/node_access_test/node_access_test.module
- Implements hook_node_access_records().
- node_access_test_node_grants in core/modules/node/tests/modules/node_access_test/node_access_test.module
- Implements hook_node_grants().
- node_cron in core/modules/node/node.module
- Implements hook_cron().
- node_ranking in core/modules/node/node.module
- Implements hook_ranking().
- node_test_entity_view_mode_alter in core/modules/node/tests/modules/node_test/node_test.module
- Implements hook_entity_view_mode_alter().
- node_test_views_views_data_alter in core/modules/node/tests/modules/node_test_views/node_test_views.views.inc
- Implements hook_views_data_alter().
- node_uninstall in core/modules/node/node.install
- Implements hook_uninstall().
- NoPreExistingSchemaUpdateTest::testNoPreExistingSchema in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
- Tests the system module updates with no dependencies installed.
- olivero_preprocess_html in core/themes/olivero/olivero.theme
- Implements hook_preprocess_HOOK() for HTML document templates.
- PageCacheTest::testFormImmutability in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
- Tests the setting of forms to be immutable.
- PageRenderTest::assertPageRenderHookExceptions in core/modules/system/tests/src/Kernel/Common/PageRenderTest.php
- Asserts whether expected exceptions are thrown for invalid hook implementations.
- page_cache_form_test_module_implements_alter in core/modules/page_cache/tests/modules/page_cache_form_test.module
- Implements hook_module_implements_alter().
- PluginManager::__construct in core/modules/system/tests/modules/lazy_route_provider_install_test/src/PluginManager.php
- PluginManager constructor.
- PoDatabaseWriter::setHeader in core/modules/locale/src/PoDatabaseWriter.php
- Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
- PrepareUninstallTest::setUp in core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
- PreviewTest::enableViewsTestModule in core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
- Sets up the views_test_data.module.
- ProcessingTest::testBatchForm in core/modules/system/tests/src/Functional/Batch/ProcessingTest.php
- Tests batches defined in a form submit handler.
- ProviderRepository::get in core/modules/media/tests/modules/media_test_oembed/src/ProviderRepository.php
- Returns information for a specific oEmbed provider.
- ProviderRepository::getAll in core/modules/media/tests/modules/media_test_oembed/src/ProviderRepository.php
- Returns information on all available oEmbed providers.
- ProviderRepository::setProvider in core/modules/media/tests/modules/media_test_oembed/src/ProviderRepository.php
- Stores an oEmbed provider value object in state.
- RebuildScriptTest::testRebuild in core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
- Tests redirect in rebuild.php.
- RendererBubblingTest::testBubblingWithPrerender in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
- Tests bubbling of bubbleable metadata added by #pre_render callbacks.
- RenderTest::testDrupalRenderThemePreprocessAttached in core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
- Tests theme preprocess functions being able to attach assets.
- ResourceController::get in core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php
- Creates an oEmbed resource response.
- ResourceController::setResource404 in core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php
- Maps an asset URL to a 404 response.
- ResourceController::setResourceUrl in core/modules/media/tests/modules/media_test_oembed/src/Controller/ResourceController.php
- Maps an asset URL to a local fixture representing its oEmbed resource.
- ResourceTypeBuildEventSubscriber::aliasResourceTypeFields in core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
- Aliases any resource type fields that have been aliased by a test.
- ResourceTypeBuildEventSubscriber::disableResourceType in core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
- Disables any resource types that have been disabled by a test.
- ResourceTypeBuildEventSubscriber::disableResourceTypeFields in core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
- Disables any resource type fields that have been aliased by a test.
- ResourceTypeBuildEventSubscriber::renameResourceType in core/modules/jsonapi/tests/modules/jsonapi_test_resource_type_building/src/EventSubscriber/ResourceTypeBuildEventSubscriber.php
- Renames any resource types that have been renamed by a test.
- ResourceTypeRepositoryTest::testResourceTypeDisabling in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
- Tests that resource types can be disabled by a build subscriber.
- ResourceTypeRepositoryTest::testResourceTypeFieldAliasing in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
- Tests that resource type fields can be aliased per resource type.
- ResourceTypeRepositoryTest::testResourceTypeFieldDisabling in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
- Tests that resource type fields can be disabled per resource type.
- ResourceTypeRepositoryTest::testResourceTypeRenaming in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
- Tests that resource types can be renamed.
- rest_test_views_views_post_execute in core/modules/rest/tests/modules/rest_test_views/rest_test_views.module
- Implements hook_views_post_execute().
- router_installer_test_modules_installed in core/modules/system/tests/modules/router_installer_test/router_installer_test.module
- Implements hook_modules_installed().
- router_test_install in core/modules/system/tests/modules/router_test_directory/router_test.install
- Implements hook_install().
- Routes::dynamic in core/modules/menu_link_content/tests/menu_link_content_dynamic_route/src/Routes.php
- SaveUploadFormTest::testDrupalMovingUploadedFileError in core/modules/file/tests/src/Functional/SaveUploadFormTest.php
- Tests for log entry on failing destination.
- SaveUploadTest::testDrupalMovingUploadedFileError in core/modules/file/tests/src/Functional/SaveUploadTest.php
- Tests for log entry on failing destination.
- SearchEmbeddedForm::buildForm in core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php
- Form constructor.
- SearchEmbeddedForm::submitForm in core/modules/search/tests/modules/search_embedded_form/src/Form/SearchEmbeddedForm.php
- Form submission handler.
- SearchEmbedFormTest::setUp in core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
- SearchEmbedFormTest::testEmbeddedForm in core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
- Tests that the embedded form appears and can be submitted.
- ServiceDestructionTest::testDestructionUnused in core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php
- Verifies that services are not unnecessarily destructed when not used.
- ServiceDestructionTest::testDestructionUsed in core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php
- Verifies that services are destructed when used.
- ShutdownFunctionsTest::testShutdownFunctions in core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
- Tests shutdown functions.
- SqlBaseTest::testConnectionTypes in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
- Tests different connection types.
- StatisticsAdminTest::testExpiredLogs in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
- Tests that cron clears day counts and expired access logs.
- statistics_cron in core/modules/statistics/statistics.module
- Implements hook_cron().
- statistics_ranking in core/modules/statistics/statistics.module
- Implements hook_ranking().
- statistics_uninstall in core/modules/statistics/statistics.install
- Implements hook_uninstall().
- StatusTest::testStatusPage in core/modules/system/tests/src/Functional/System/StatusTest.php
- Tests that the status page returns.
- StringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
- Tests string formatter output.
- system_install in core/modules/system/system.install
- Implements hook_install().
- system_requirements in core/modules/system/system.install
- Implements hook_requirements().
- system_test_modules_installed in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_modules_installed().
- system_test_modules_uninstalled in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_modules_uninstalled().
- system_test_module_preinstall in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_module_preinstall().
- system_test_module_preuninstall in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_module_preuninstall().
- system_test_page_attachments in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_page_attachments().
- system_test_system_info_alter in core/modules/system/tests/modules/system_test/system_test.module
- Implements hook_system_info_alter().
- taxonomy_test_form_taxonomy_term_form_alter in core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module
- Implements hook_form_BASE_FORM_ID_alter() for the taxonomy term form.
- taxonomy_test_query_alter in core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module
- Implements hook_query_alter().
- taxonomy_test_query_taxonomy_term_access_alter in core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module
- Implements hook_query_TAG_alter().
- taxonomy_test_query_term_access_alter in core/modules/taxonomy/tests/modules/taxonomy_test/taxonomy_test.module
- Implements hook_query_TAG_alter().
- template_preprocess_update_report in core/modules/update/update.report.inc
- Prepares variables for project status report templates.
- TemporaryQueryGuard::getAccessCondition in core/modules/jsonapi/src/Access/TemporaryQueryGuard.php
- Gets an EntityConditionGroup that filters out inaccessible entities.
- Test::getMetadata in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
- Gets the value for a metadata attribute for a given media item.
- Test::getMetadataAttributes in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
- Gets a list of metadata attributes provided by this plugin.
- Test::getPluginDefinition in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php
- Gets the definition of the plugin implementation.
- TestCacheBlock::build in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
- Builds and returns the renderable array for this block plugin.
- TestCacheBlock::getCacheContexts in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
- TestCacheBlock::getCacheMaxAge in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
- TestHelpSection::renderTopicForSearch in core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpSection/TestHelpSection.php
- Renders one topic for search indexing or search results.
- TestHtmlBlock::build in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestHtmlBlock.php
- Builds and returns the renderable array for this block plugin.
- TestMailCollector::mail in core/lib/Drupal/Core/Mail/Plugin/Mail/TestMailCollector.php
- Sends an email message.
- TestMediaFilterController::preview in core/modules/media/tests/modules/media_test_embed/src/Controller/TestMediaFilterController.php
- Returns a HTML response containing a preview of the text after filtering.
- TestSqlBase::__construct in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
- Overrides the constructor so we can create one easily.
- TestStateBasedSectionStorage::isApplicable in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/TestStateBasedSectionStorage.php
- Determines if this section storage is applicable for the current contexts.
- TestTime::getRequestTime in core/modules/update/tests/modules/update_test/src/Datetime/TestTime.php
- Returns the timestamp for the current request.
- TestType::getRequiredStates in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/TestType.php
- Gets the required states of workflow type.
- TestWithConstraints::getEntityConstraints in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestWithConstraints.php
- Gets media source-specific validation constraints for a media item.
- TestWithConstraints::getSourceFieldConstraints in core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/TestWithConstraints.php
- Gets media source-specific validation constraints for a source field.
- test_module_required_by_theme_system_info_alter in core/modules/system/tests/themes/test_theme_depending_on_modules/test_module_required_by_theme/test_module_required_by_theme.module
- Implements hook_system_info_alter().
- test_theme_depending_on_modules.post_update.php in core/modules/system/tests/themes/test_theme_depending_on_modules/test_theme_depending_on_modules.post_update.php
- Theme::isInstalled in core/lib/Drupal/Core/Updater/Theme.php
- ThemeTest::testThemeUpdateManagement in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
- Tests the update registry is correct during theme install and uninstall.
- ThemeTest::testThemeUpdateManagementRemovedPostUpdates in core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
- Tests the update registry is correct during theme install and uninstall.
- ThemeUpdateTest::testThemeUpdates in core/modules/system/tests/src/Functional/Theme/ThemeUpdateTest.php
- Ensures preprocess functions run even for suggestion implementations.
- theme_test_system_info_alter in core/modules/system/tests/modules/theme_test/theme_test.module
- Implements hook_system_info_alter().
- ToolkitTestTrait::imageTestGetAllCalls in core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php
- Gets an array of calls to the 'test' toolkit.
- ToolkitTestTrait::imageTestReset in core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php
- Resets/initializes the history of calls to the test toolkit functions.
- TrackerNodeAccessTest::setUp in core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
- TrackerNodeAccessTest::testTrackerNodeAccessIndexing in core/modules/tracker/tests/src/Functional/TrackerNodeAccessTest.php
- Ensure that tracker_cron is not access sensitive.
- TrackerTest::testTrackerCronIndexing in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests that existing nodes are indexed by cron.
- TrackerTest::testTrackerUser in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests for the presence of nodes on a user's tracker listing.
- tracker_cron in core/modules/tracker/tracker.module
- Implements hook_cron().
- tracker_install in core/modules/tracker/tracker.install
- Implements hook_install().
- tracker_uninstall in core/modules/tracker/tracker.install
- Implements hook_uninstall().
- UncaughtExceptionTest::testLoggerException in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
- Tests fallback to PHP error log when an exception is thrown while logging.
- UncaughtExceptionTest::testUncaughtException in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
- Tests uncaught exception handling when system is in a bad state.
- UncaughtExceptionTest::testUncaughtExceptionCustomExceptionHandler in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
- Tests uncaught exception handling with custom exception handler.
- UpdateManagerInstall::submitForm in core/modules/update/src/Form/UpdateManagerInstall.php
- Form submission handler.
- UpdatePathNewDependencyTest::testUpdateNewDependency in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
- Tests that a module can add services that depend on new modules.
- UpdatePathTestBaseTest::testModuleListChange in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
- Tests that test running environment is updated when module list changes.
- UpdatePathTestBaseTest::testPathAliasProcessing in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
- Tests that path aliases are not processed during database updates.
- UpdatePathTestBaseTest::testUpdateHookN in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
- Tests that updates are properly run.
- UpdatePathWithBrokenRoutingTest::testWithBrokenRouting in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php
- Tests running update.php with some form of broken routing.
- UpdatePostUpdateFailingTest::testPostUpdate in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
- Tests hook_post_update_NAME().
- UpdatePostUpdateTest::testPostUpdate in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
- Tests hook_post_update_NAME().
- UpdateSchemaTest::testDrupalGetSchemaVersionsInt in core/tests/Drupal/KernelTests/Core/Extension/UpdateSchemaTest.php
- Tests the function parses schema updates as integer numbers.
- UpdateSchemaTest::testUpdateHooks in core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
- Tests that update hooks are properly run.
- UpdateScriptTest::testRequirements in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
- Tests that requirements warnings and errors are correctly displayed.
- UpdateSemverCoreTest::testSecurityCoverageMessage in core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
- Tests the security coverage messages for Drupal core versions.
- update_authorize_install_batch_finished in core/modules/update/update.authorize.inc
- Implements callback_batch_finished().
- update_authorize_update_batch_finished in core/modules/update/update.authorize.inc
- Batch callback: Performs actions when the authorized update batch is done.
- update_cron in core/modules/update/update.module
- Implements hook_cron().
- update_script_test_system_info_alter in core/modules/system/tests/modules/update_script_test/update_script_test.module
- Implements hook_system_info_alter().
- update_test_1_update_dependencies in core/modules/system/tests/modules/update_test_1/update_test_1.install
- Implements hook_update_dependencies().
- update_test_failing_post_update_first in core/modules/system/tests/modules/update_test_failing/update_test_failing.post_update.php
- First update, should not be run since this module's update hooks fail.
- update_test_no_preexisting_update_8001 in core/modules/system/tests/modules/update_test_no_preexisting/update_test_no_preexisting.install
- Dummy update_test_no_preexisting update 8001.
- update_test_postupdate_post_update_first in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
- First update.
- update_test_postupdate_post_update_second in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
- Second update.
- update_test_postupdate_post_update_test0 in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
- Test0 update.
- update_test_postupdate_post_update_test1 in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
- Test1 update.
- update_test_postupdate_post_update_test_batch in core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php
- Testing batch processing in post updates update.
- update_test_schema_schema in core/modules/system/tests/modules/update_test_schema/update_test_schema.install
- Implements hook_schema().
- update_test_semver_update_n_update_8001 in core/modules/system/tests/modules/update_test_semver_update_n/update_test_semver_update_n.install
- Update 8001.
- update_uninstall in core/modules/update/update.install
- Implements hook_uninstall().
- UrlResolver::getResourceUrl in core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php
- Builds the resource URL for a media asset URL.
- UrlResolver::setEndpointUrl in core/modules/media/tests/modules/media_test_oembed/src/UrlResolver.php
- Sets the endpoint URL for an oEmbed resource URL.
- UserAttributesTest::setUp in core/modules/rdf/tests/src/Functional/UserAttributesTest.php
- UserCancelTest::testUserBlockUnpublishNodeAccess in core/modules/user/tests/src/Functional/UserCancelTest.php
- Tests nodes are unpublished even if inaccessible to cancelling user.
- UserEditTest::testUserEdit in core/modules/user/tests/src/Functional/UserEditTest.php
- Tests user edit page.
- UserEntityLabelTest::testLabelCallback in core/modules/user/tests/src/Kernel/UserEntityLabelTest.php
- Tests label callback.
- UserTokenReplaceTest::testUserTokenReplacement in core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
- Creates a user, then tests the tokens generated from it.
- user_hooks_test_user_format_name_alter in core/modules/user/tests/modules/user_hooks_test/user_hooks_test.module
- Implements hook_user_format_name_alter().
- VersionTest::testModuleVersions in core/modules/system/tests/src/Functional/Module/VersionTest.php
- Tests version dependencies.
- ViewsEntitySchemaSubscriberIntegrationTest::assertUpdatedViews in core/modules/views/tests/src/Kernel/EventSubscriber/ViewsEntitySchemaSubscriberIntegrationTest.php
- Checks that the passed-in view IDs were the only ones updated.
- ViewsEntitySchemaSubscriberIntegrationTest::testViewSaveException in core/modules/views/tests/src/Kernel/EventSubscriber/ViewsEntitySchemaSubscriberIntegrationTest.php
- Tests the case when a view could not be updated automatically.
- ViewsTestCacheContext::getContext in core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php
- Returns the string representation of the cache context.
- ViewsTestCacheContextFilter::query in core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php
- Add this filter to the query.
- views_test_config_view_load in core/modules/views/tests/modules/views_test_config/views_test_config.module
- Implements hook_ENTITY_TYPE_load().
- views_test_data_field_views_data in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_field_views_data().
- views_test_data_field_views_data_alter in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_field_views_data_alter().
- views_test_data_preprocess_views_view_table in core/modules/views/tests/modules/views_test_data/views_test_data.module
- Implements hook_preprocess_HOOK() for views table templates.
- views_test_data_schema in core/modules/views/tests/modules/views_test_data/views_test_data.install
- Implements hook_schema().
- views_test_data_views_analyze in core/modules/views/tests/modules/views_test_data/views_test_data.views.inc
- Implements hook_views_analyze().
- views_test_data_views_data_alter in core/modules/views/tests/modules/views_test_data/views_test_data.views.inc
- Implements hook_views_data_alter().
- views_test_data_views_form_substitutions in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_form_substitutions().
- views_test_data_views_invalidate_cache in core/modules/views/tests/modules/views_test_data/views_test_data.views.inc
- Implements hook_views_invalidate_cache().
- views_test_data_views_post_build in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_post_build().
- views_test_data_views_post_execute in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_post_execute().
- views_test_data_views_post_render in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_post_render().
- views_test_data_views_pre_build in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_pre_build().
- views_test_data_views_pre_execute in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_pre_execute().
- views_test_data_views_pre_render in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_pre_render().
- views_test_data_views_pre_view in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_pre_view().
- views_test_data_views_query_alter in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_query_alter().
- views_test_data_views_query_substitutions in core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc
- Implements hook_views_query_substitutions().
- views_test_data_view_update in core/modules/views/tests/modules/views_test_data/views_test_data.module
- Implements hook_ENTITY_TYPE_update() for the 'view' entity type.
- ViewTestBase::enableViewsTestModule in core/modules/views/tests/src/Functional/ViewTestBase.php
- Sets up the views_test_data.module.
- WorkflowAccessControlHandlerTest::testCheckAccess in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
- @covers ::checkAccess
@dataProvider checkAccessProvider
- WorkflowCustomAccessType::workflowAccess in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/WorkflowCustomAccessType.php
- Implements hook_ENTITY_TYPE_access().
- WorkflowUiTest::testAccess in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
- Tests route access/permissions.
- WorkflowUiTest::testWorkflowCreation in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
- Tests the creation of a workflow through the UI.
- workflow_type_test_set_definitions in core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.module
- Sets the type plugin definitions override and clear the cache.
- workflow_type_test_workflow_type_info_alter in core/modules/workflows/tests/modules/workflow_type_test/workflow_type_test.module
- Implements hook_workflow_type_info_alter().
- Workspace::postDelete in core/modules/workspaces/src/Entity/Workspace.php
- Acts on deleted entities before the delete hook is invoked.
- WorkspaceAccessTest::testPublishWorkspaceAccess in core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php
- Tests workspace publishing access.
- WorkspaceCRUDTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
- WorkspaceCRUDTest::testDeletingWorkspaces in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
- Tests the deletion of workspaces.
- workspace_access_test_workspace_access in core/modules/workspaces/tests/modules/workspace_access_test/workspace_access_test.module
- Implements hook_ENTITY_TYPE_access() for the 'workspace' entity type.
- workspace_update_test_post_update_check_active_workspace in core/modules/workspaces/tests/modules/workspace_update_test/workspace_update_test.post_update.php
- Checks the active workspace during database updates.
- _batch_test_nested_batch_callback in core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc
- Implements callback_batch_operation().
- _config_import_test_config_import_steps_alter in core/modules/config/tests/config_import_test/config_import_test.module
- Implements configuration synchronization step added by an alter for testing.
- _config_test_update_is_syncing_store in core/modules/config/tests/config_test/config_test.hooks.inc
- Helper function for testing hooks during configuration sync.
- _drupal_flush_css_js in core/includes/common.inc
- Changes the dummy query string added to all CSS and JavaScript files.
- _entity_test_record_hooks in core/modules/system/tests/modules/entity_test/entity_test.module
- Helper function to be used to record hook invocations.
- _field_test_alter_widget in core/modules/field/tests/modules/field_test/field_test.module
- Sets up alterations for widget alter tests.
- _file_test_get_return in core/modules/file/tests/file_test/file_test.module
- Load the appropriate return value.
- _file_test_log_call in core/modules/file/tests/file_test/file_test.module
- Store the values passed to a hook invocation.
- _locale_invalidate_js in core/modules/locale/locale.module
- Force the JavaScript translation file(s) to be refreshed.
- _locale_rebuild_js in core/modules/locale/locale.module
- (Re-)Creates the JavaScript translation file for a language.
- _system_test_first_shutdown_function in core/modules/system/tests/modules/system_test/system_test.module
- Dummy shutdown function which registers another shutdown function.
- _system_test_second_shutdown_function in core/modules/system/tests/modules/system_test/system_test.module
- Dummy shutdown function.
- _update_cron_notify in core/modules/update/update.fetch.inc
- Performs any notifications that should be done once cron fetches new data.