Classes, traits, and interfaces - main - drupal

Primary tabs

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
AAlterHooks class Drupal\aaa_hook_order_test\Hook core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AAlterHooks.php This class contains hook implementations.
AbstractOperation abstract class Drupal\Composer\Plugin\Scaffold\Operations composer/Plugin/Scaffold/Operations/AbstractOperation.php Provides default behaviors for operations.
AcceptHeaderMatcher class Drupal\accept_header_routing_test\Routing core/modules/system/tests/modules/accept_header_routing_test/src/Routing/AcceptHeaderMatcher.php Filters routes based on the media type specified in the HTTP Accept headers.
AcceptHeaderMiddleware class Drupal\accept_header_routing_test core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderMiddleware.php Example implementation of "accept header"-based content negotiation.
AcceptHeaderRoutingTestServiceProvider class Drupal\accept_header_routing_test core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php Service provider for the accept_header_routing_test module.
Access class Drupal\node\Plugin\views\filter core/modules/node/src/Plugin/views/filter/Access.php Filter by node_access records.
AccessAnnouncementTest class Drupal\Tests\announcements_feed\FunctionalJavascript core/modules/announcements_feed/tests/src/FunctionalJavascript/AccessAnnouncementTest.php Test the access announcement permissions to get access announcement icon.
AccessCheck class Drupal\menu_test\Access core/modules/system/tests/modules/menu_test/src/Access/AccessCheck.php Checks access based on the 'menu_test' key in session.
AccessDeniedSubscriber class Drupal\user\EventSubscriber core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php Redirects users when access is denied.
AccessDeniedTest class Drupal\Tests\system\Functional\System core/modules/system/tests/src/Functional/System/AccessDeniedTest.php Tests page access denied functionality, including custom 403 pages.
AccessPermissionTest class Drupal\Tests\user\Kernel\Views core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php Tests views perm access plugin.
AccessPluginBase abstract class Drupal\views\Plugin\views\access core/modules/views/src/Plugin/views/access/AccessPluginBase.php The base plugin to handle access control.
AccessRoleTest class Drupal\Tests\user\Functional\Views core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests views role access plugin.
AccessRoleUITest class Drupal\Tests\user\Functional core/modules/user/tests/src/Functional/AccessRoleUITest.php Tests views role access plugin UI.
AccessRouteAlterSubscriber class Drupal\system\EventSubscriber core/modules/system/src/EventSubscriber/AccessRouteAlterSubscriber.php Alters routes to add necessary requirements.
AccessTest class Drupal\Tests\views\Functional\Plugin core/modules/views/tests/src/Functional/Plugin/AccessTest.php Tests pluggable access for views.
AccessTest class Drupal\Tests\file\Kernel core/modules/file/tests/src/Kernel/AccessTest.php Tests for the File access control.
AccessTestBase abstract class Drupal\Tests\user\Functional\Views core/modules/user/tests/src/Functional/Views/AccessTestBase.php A common test base class for the user access plugin tests.
AccountForm abstract class Drupal\user core/modules/user/src/AccountForm.php Form controller for the user account forms.
AccountSettingsForm class Drupal\user core/modules/user/src/AccountSettingsForm.php Configure user settings for this site.
AccountSwitcherTest class Drupal\KernelTests\Core\Session core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php Test case for account switching.
AccountTakeoverGadgetChainTest class Drupal\KernelTests\Core\User core/tests/Drupal/KernelTests/Core/User/AccountTakeoverGadgetChainTest.php Tests protection against SA-CORE-2024-007 Gadget Chain.
ACrossHookReorderAlter class Drupal\aaa_hook_order_test\Hook core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/ACrossHookReorderAlter.php Contains alter hook implementations.
Action class Drupal\system\Entity core/modules/system/src/Entity/Action.php Defines the configured action entity.
Action class Drupal\system\Plugin\migrate\source core/modules/system/src/Plugin/migrate/source/Action.php Drupal action source from database.
ActionConfigEntityInterface interface Drupal\system core/modules/system/src/ActionConfigEntityInterface.php Provides an interface defining an action entity.
ActionJsonAnonTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionJsonAnonTest.php Tests Action Json Anon.
ActionJsonBasicAuthTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionJsonBasicAuthTest.php Tests Action Json Basic Auth.
ActionJsonCookieTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionJsonCookieTest.php Tests Action Json Cookie.
ActionResourceTestBase abstract class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php Resource test base for the action entity.
ActionsTest class Drupal\KernelTests\Core\Render\Element core/tests/Drupal/KernelTests/Core/Render/Element/ActionsTest.php Tests Drupal\Core\Render\Element\Actions.
ActionTest class Drupal\Tests\system\Kernel\Plugin\migrate\source core/modules/system/tests/src/Kernel/Plugin/migrate/source/ActionTest.php Tests actions source plugin.
ActionTest class Drupal\Tests\system\Kernel\Action core/modules/system/tests/src/Kernel/Action/ActionTest.php Tests action plugins.
ActionTest class Drupal\Tests\jsonapi\Functional core/modules/jsonapi/tests/src/Functional/ActionTest.php JSON:API integration test for the "Action" config entity type.
ActionValidationTest class Drupal\Tests\system\Kernel\Entity core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php Tests validation of action entities.
ActionXmlAnonTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionXmlAnonTest.php Tests Action Xml Anon.
ActionXmlBasicAuthTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionXmlBasicAuthTest.php Tests Action Xml Basic Auth.
ActionXmlCookieTest class Drupal\Tests\system\Functional\Rest core/modules/system/tests/src/Functional/Rest/ActionXmlCookieTest.php Tests Action Xml Cookie.
ActiveFixtureManipulator final class Drupal\fixture_manipulator core/modules/package_manager/tests/modules/fixture_manipulator/src/ActiveFixtureManipulator.php A fixture manipulator for the active directory.
ActiveLinkTest class Drupal\Tests\system\FunctionalJavascript core/modules/system/tests/src/FunctionalJavascript/ActiveLinkTest.php Tests active link JS behavior.
ActiveWorkspaceCheck class Drupal\workspaces\Access core/modules/workspaces/src/Access/ActiveWorkspaceCheck.php Determines access to routes based on the presence of an active workspace.
ActiveWorkspaceCheckTest class Drupal\Tests\workspaces\Unit core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php Tests Drupal\workspaces\Access\ActiveWorkspaceCheck.
ActiveWorkspaceTestForm class Drupal\workspaces_test\Form core/modules/workspaces/tests/modules/workspaces_test/src/Form/ActiveWorkspaceTestForm.php Form for testing the active workspace.
ActiveWorkspaceUpdateTest class Drupal\Tests\workspaces\Functional\UpdateSystem core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php Tests that there is no active workspace during database updates.
AddBlockForm class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/AddBlockForm.php Provides a form to add a block.
AddComponent final class Drupal\layout_builder\Plugin\ConfigAction core/modules/layout_builder/src/Plugin/ConfigAction/AddComponent.php Adds a component to a layout builder section.
AddComponentDeriver final class Drupal\layout_builder\Plugin\ConfigAction\Deriver core/modules/layout_builder/src/Plugin/ConfigAction/Deriver/AddComponentDeriver.php @internal This API is experimental.
AddComponentTest class Drupal\Tests\layout_builder\Kernel\Plugin\ConfigAction core/modules/layout_builder/tests/src/Kernel/Plugin/ConfigAction/AddComponentTest.php Tests that `addComponentToLayout` config action.
AddedStylesheetsTest class Drupal\Tests\ckeditor5\Functional core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php Test the ckeditor5-stylesheets theme config property.
AddFeedTest class Drupal\Tests\system\Kernel\Common core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Make sure that attaching feeds works correctly with various constructs.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.