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 |
---|---|---|---|
AddItemToToolbarConfigActionTest::setUp | function | core/ |
|
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 | function | core/ |
Tests that the `addItemToToolbar` config action requires CKEditor 5. |
AddItemToToolbarConfigActionTest::testAddItemToToolbar | function | core/ |
@testWith ["sourceEditing", ["heading", "bold", "italic", "sourceEditing"]][[api-linebreak]] [{"item_name": "sourceEditing"}, ["heading", "bold",… |
AddItemToToolbarConfigActionTest::testAddNonExistentItem | function | core/ |
Tests that adding non-existent toolbar item to CKEditor triggers an error. |
AddModerationConfigActionTest | class | core/ |
@covers \Drupal\content_moderation\Plugin\ConfigAction\AddModeration[[api-linebreak]] @covers \Drupal\content_moderation\Plugin\ConfigAction\AddModerationDeriver[[api-linebreak]] @group content_moderation @group Recipe |
AddModerationConfigActionTest.php | file | core/ |
|
AddModerationConfigActionTest::$modules | property | core/ |
Modules to install. |
AddModerationConfigActionTest::createRecipe | function | core/ |
Creates a recipe configuration for adding entity types and bundles to a workflow. |
AddModerationConfigActionTest::testActionOnlyTargetsWorkflows | function | core/ |
Tests that the action only targets workflows. |
AddModerationConfigActionTest::testAddEntityTypeAndBundle | function | core/ |
Tests adding entity types and bundles to a workflow. |
AddModerationConfigActionTest::testDeriverAdminLabel | function | core/ |
Tests that the derived config action definitions have correct admin labels. |
AddModerationConfigActionTest::testWorkflowMustBeContentModeration | function | core/ |
Tests that the workflow must be of type Content Moderation. |
AddNavigationBlockConfigActionTest | class | core/ |
@covers \Drupal\navigation\Plugin\ConfigAction\AddNavigationBlock[[api-linebreak]] @group navigation @group Recipe |
AddNavigationBlockConfigActionTest.php | file | core/ |
|
AddNavigationBlockConfigActionTest::$modules | property | core/ |
Modules to install. |
AddNavigationBlockConfigActionTest::setUp | function | core/ |
|
AddNavigationBlockConfigActionTest::testActionOnlySupportsNavigationConfig | function | core/ |
Checks invalid config exception. |
AddNavigationBlockConfigActionTest::testAddBlockToNavigation | function | core/ |
Tests add item logic. |
AddPermissionsUpdateTest | class | core/ |
Tests help_post_update_add_permissions_to_roles(). |
AddPermissionsUpdateTest.php | file | core/ |
|
AddPermissionsUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
AddPermissionsUpdateTest::testUpdate | function | core/ |
Tests adding 'access help pages' permission. |
AddRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser[[api-linebreak]] @group user |
AddRoleUserTest.php | file | core/ |
|
AddRoleUserTest::testExecuteAddExistingRole | function | core/ |
Tests the execute method on a user with a role. |
AddRoleUserTest::testExecuteAddNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
AddToAllBundlesConfigActionTest | class | core/ |
@covers \Drupal\field\Plugin\ConfigAction\AddToAllBundles[[api-linebreak]] |
AddToAllBundlesConfigActionTest.php | file | core/ |
|
AddToAllBundlesConfigActionTest::$modules | property | core/ |
Modules to install. |
AddToAllBundlesConfigActionTest::applyAction | function | core/ |
Applies a recipe with the addToAllBundles action. |
AddToAllBundlesConfigActionTest::setUp | function | core/ |
|
AddToAllBundlesConfigActionTest::testFailIfExists | function | core/ |
Tests that the action can be set to fail if the field already exists. |
AddToAllBundlesConfigActionTest::testIgnoreExistingFields | function | core/ |
Tests that the action will ignore existing fields by default. |
AddToAllBundlesConfigActionTest::testInstantiateNewFieldOnAllBundles | function | core/ |
Tests instantiating a field on all bundles of an entity type. |
AdminAccountSwitcherTest | class | core/ |
@covers \Drupal\Core\DefaultContent\AdminAccountSwitcher[[api-linebreak]] @group DefaultContent |
AdminAccountSwitcherTest.php | file | core/ |
|
AdminAccountSwitcherTest::$modules | property | core/ |
Modules to install. |
AdminAccountSwitcherTest::register | function | core/ |
Registers test-specific services. |
AdminAccountSwitcherTest::setUp | function | core/ |
|
AdminAccountSwitcherTest::testNoAdministratorsExist | function | core/ |
Tests that there is an error if there are no administrative users. |
AdminAccountSwitcherTest::testSuperUser | function | core/ |
Tests switching to user 1 when the superuser access policy is enabled. |
AdminAccountSwitcherTest::testSwitchToAdministrator | function | core/ |
Tests switching to a user with an administrative role. |
AdminAccountSwitcherTest::testSwitchToAndSwitchBack | function | core/ |
Tests switching and switching back. |
AdminAjaxTest | class | core/ |
Tests the admin UI AJAX interactions. |
AdminAjaxTest.php | file | core/ |
|
AdminAjaxTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AdminAjaxTest::$modules | property | core/ |
Modules to install. |
AdminAjaxTest::setUp | function | core/ |
|
AdminAjaxTest::testAjaxRebuild | function | core/ |
Confirms that form_alter is triggered after AJAX rebuilds. |
AdminAjaxTest::testBodyScroll | function | core/ |
Tests body scroll. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.