Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
AbstractPluginManagerRule abstract class mglaman\PHPStanDrupal\Rules\Drupal\PluginManager vendor/mglaman/phpstan-drupal/src/Rules/Drupal/PluginManager/AbstractPluginManagerRule.php @template TNodeType of \PhpParser\Node @implements Rule<TNodeType> 1
AbstractPrecondition abstract class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/AbstractPrecondition.php @package Precondition 11
AbstractPreconditionsTree abstract class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/AbstractPreconditionsTree.php @package Precondition 8
AbstractProcessRunner abstract class PhpTuf\ComposerStager\Internal\Process\Service vendor/php-tuf/composer-stager/src/Internal/Process/Service/AbstractProcessRunner.php Provides a base for process runners for consistent process creation and exception-handling. 2
AbstractPropertyConstantAndEnumCaseSpacing abstract class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/AbstractPropertyConstantAndEnumCaseSpacing.php @internal 3
AbstractProxy abstract class Symfony\Component\HttpFoundation\Session\Storage\Proxy vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php @author Drak <drak@zikula.org> 2 5
AbstractRecursivePass abstract class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php @author Nicolas Grekas <p@tchwork.com> 29
AbstractRequestRateLimiter abstract class Symfony\Component\HttpFoundation\RateLimiter vendor/symfony/http-foundation/RateLimiter/AbstractRequestRateLimiter.php An implementation of PeekableRequestRateLimiterInterface that fits most use-cases.
AbstractRequireOneLineDocComment abstract class SlevomatCodingStandard\Sniffs\Commenting vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Commenting/AbstractRequireOneLineDocComment.php @internal 2
AbstractRetriever abstract class JsonSchema\Uri\Retrievers vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php AbstractRetriever implements the default shared behavior that all descendant Retrievers should inherit 3
AbstractScopeSniff abstract class PHP_CodeSniffer\Sniffs vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractScopeSniff.php 11 11
AbstractServiceConfigurator abstract class Symfony\Component\DependencyInjection\Loader\Configurator vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php 6
AbstractSessionHandler abstract class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php This abstract session handler provides a generic implementation of the PHP 7.0 SessionUpdateTimestampHandlerInterface, enabling strict and lazy session handling. 6
AbstractSessionListener abstract class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php Sets the session onto the request on the "kernel.request" event and saves it on the "kernel.response" event. 1
AbstractSet abstract class Ramsey\Collection vendor/ramsey/collection/src/AbstractSet.php This class contains the basic implementation of a collection that does not allow duplicated values (a set), to minimize the effort required to implement this specific type of collection. 1
AbstractStorage abstract class WebDriver\Storage vendor/lullabot/php-webdriver/lib/WebDriver/Storage/AbstractStorage.php WebDriver\AbstractStorage class 2
AbstractStream abstract class Symfony\Component\Mailer\Transport\Smtp\Stream vendor/symfony/mailer/Transport/Smtp/Stream/AbstractStream.php A stream supporting remote sockets and local processes. 2 3
AbstractString abstract class Symfony\Component\String vendor/symfony/string/AbstractString.php Represents a string of abstract characters. 2
AbstractSurrogate abstract class Symfony\Component\HttpKernel\HttpCache vendor/symfony/http-kernel/HttpCache/AbstractSurrogate.php Abstract class implementing Surrogate capabilities to Request and Response instances. 2
AbstractSurrogateFragmentRenderer abstract class Symfony\Component\HttpKernel\Fragment vendor/symfony/http-kernel/Fragment/AbstractSurrogateFragmentRenderer.php Implements Surrogate rendering strategy. 2
AbstractTokenParser abstract class Twig\TokenParser vendor/twig/twig/src/TokenParser/AbstractTokenParser.php Base class for all token parsers. 20 1
AbstractTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php
AbstractTransport abstract class Symfony\Component\Mailer\Transport vendor/symfony/mailer/Transport/AbstractTransport.php @author Fabien Potencier <fabien@symfony.com> 4 1
AbstractTransportFactory abstract class Symfony\Component\Mailer\Transport vendor/symfony/mailer/Transport/AbstractTransportFactory.php @author Konstantin Myakshin <molodchick@gmail.com> 4 1
AbstractTransportFactoryTestCase abstract class Symfony\Component\Mailer\Test vendor/symfony/mailer/Test/AbstractTransportFactoryTestCase.php 1
AbstractTwigCallable abstract class Twig vendor/twig/twig/src/AbstractTwigCallable.php @author Fabien Potencier <fabien@symfony.com> 3
AbstractTypedMap abstract class Ramsey\Collection\Map vendor/ramsey/collection/src/Map/AbstractTypedMap.php This class provides a basic implementation of `TypedMapInterface`, to minimize the effort required to implement this interface. 1
AbstractUnary abstract class Twig\Node\Expression\Unary vendor/twig/twig/src/Node/Expression/Unary/AbstractUnary.php 5 2
AbstractUnicodeString abstract class Symfony\Component\String vendor/symfony/string/AbstractUnicodeString.php Represents a string of abstract Unicode characters. 2 2
AbstractUriElement abstract class Symfony\Component\DomCrawler vendor/symfony/dom-crawler/AbstractUriElement.php Any HTML element that can link to an URI. 2
AbstractVariableSniff abstract class PHP_CodeSniffer\Sniffs vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractVariableSniff.php 11 11
AbstractVersionConstraint abstract class PharIo\Version vendor/phar-io/version/src/constraints/AbstractVersionConstraint.php 6
AbstractWebDriver abstract class WebDriver vendor/lullabot/php-webdriver/lib/WebDriver/AbstractWebDriver.php Abstract WebDriver\AbstractWebDriver class 13 1
AcceptHeader class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/AcceptHeader.php Represents an Accept-* header.
AcceptHeaderItem class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/AcceptHeaderItem.php Represents an Accept-* header item.
Access class Drupal\node\Plugin\views\filter core/modules/node/src/Plugin/views/filter/Access.php Filter by node_access records.
AccessAdminPagesSniff class DrupalPractice\Sniffs\General vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/General/AccessAdminPagesSniff.php Throws a warning if the "access administration pages" string is found in hook_menu().
AccessArgumentsResolverFactory class Drupal\Core\Access core/lib/Drupal/Core/Access/AccessArgumentsResolverFactory.php Resolves the arguments to pass to an access check callable.
AccessArgumentsResolverFactoryInterface interface Drupal\Core\Access core/lib/Drupal/Core/Access/AccessArgumentsResolverFactoryInterface.php Constructs the arguments resolver instance to use when running access checks. 1
AccessAwareRouter class Drupal\Core\Routing core/lib/Drupal/Core/Routing/AccessAwareRouter.php A router class for Drupal with access check and upcasting. 1
AccessAwareRouterInterface interface Drupal\Core\Routing core/lib/Drupal/Core/Routing/AccessAwareRouterInterface.php Interface for a router class for Drupal with access check and upcasting. 1 4
AccessCheckInterface interface Drupal\Core\Access core/lib/Drupal/Core/Access/AccessCheckInterface.php An access check service determines access rules for particular routes. 1 1
AccessCheckTypeSpecifyingExtension final class mglaman\PHPStanDrupal\Type\EntityQuery vendor/mglaman/phpstan-drupal/src/Type/EntityQuery/AccessCheckTypeSpecifyingExtension.php
AccessDeniedException class Symfony\Component\Finder\Exception vendor/symfony/finder/Exception/AccessDeniedException.php @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com> 1
AccessDeniedException class Symfony\Component\HttpFoundation\File\Exception vendor/symfony/http-foundation/File/Exception/AccessDeniedException.php Thrown when the access on a file was denied. 1
AccessDeniedHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/AccessDeniedHttpException.php @author Fabien Potencier <fabien@symfony.com> @author Christophe Coevoet <stof@notk.org> 1 27
AccessDeniedSubscriber class Drupal\user\EventSubscriber core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php Redirects users when access is denied. 2
AccessDeprecatedConstant class mglaman\PHPStanDrupal\Rules\Deprecations vendor/mglaman/phpstan-drupal/src/Rules/Deprecations/AccessDeprecatedConstant.php @implements Rule<Node\Expr\ConstFetch>
AccessDeprecatedPropertyRule class PHPStan\Rules\Deprecations vendor/phpstan/phpstan-deprecation-rules/src/Rules/Deprecations/AccessDeprecatedPropertyRule.php @implements Rule<PropertyFetch>
AccessDeprecatedStaticPropertyRule class PHPStan\Rules\Deprecations vendor/phpstan/phpstan-deprecation-rules/src/Rules/Deprecations/AccessDeprecatedStaticPropertyRule.php @implements Rule<StaticPropertyFetch>

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal