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
AttributeEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php 1
AttributeFileLoader class Symfony\Component\Routing\Loader vendor/symfony/routing/Loader/AttributeFileLoader.php AttributeFileLoader loads routing information from attributes set on a PHP class and its methods. 1
AttributeGroup class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/AttributeGroup.php 2
AttributeHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/AttributeHelper.php @internal 6
AttributeHelper class Drupal\Core\Template core/lib/Drupal/Core/Template/AttributeHelper.php Helper class to deal with mixed array and Attribute operations. 1
AttributeInterface interface Drupal\Component\Plugin\Attribute core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php Defines a common interface for classed attributes. 1 4
AttributeLoader class Symfony\Component\Serializer\Mapping\Loader vendor/symfony/serializer/Mapping/Loader/AttributeLoader.php Loader for PHP attributes.
AttributeLoader class Symfony\Component\Validator\Mapping\Loader vendor/symfony/validator/Mapping/Loader/AttributeLoader.php Loads validation metadata using PHP attributes. 1
AttributeMatchingExtension class Symfony\Component\CssSelector\XPath\Extension vendor/symfony/css-selector/XPath/Extension/AttributeMatchingExtension.php XPath expression translator attribute extension.
AttributeMetadata class Symfony\Component\Serializer\Mapping vendor/symfony/serializer/Mapping/AttributeMetadata.php @author Kévin Dunglas <dunglas@gmail.com> 5
AttributeMetadataInterface interface Symfony\Component\Serializer\Mapping vendor/symfony/serializer/Mapping/AttributeMetadataInterface.php Stores metadata needed for serializing and deserializing attributes. 1 3
AttributeNode class Symfony\Component\CssSelector\Node vendor/symfony/css-selector/Node/AttributeNode.php Represents a "<selector>[<namespace>|<attribute> <operator> <value>]" node.
AttributeParser final class PHPUnit\Metadata\Parser vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
AttributeProcessorInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/AttributeProcessorInterface.php @internal 2 5
Attributes final class Doctrine\Common\Annotations\Annotation vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php Annotation that can be used to signal to the parser to check the types of all declared attributes during the parsing process. 2
Attributes final class OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/Attributes.php @psalm-suppress MissingTemplateParam 18
AttributesBuilder final class OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilder.php @internal
AttributesBuilderInterface interface OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributesBuilderInterface.php @psalm-suppress MissingTemplateParam 2 2
AttributesConverter final class OpenTelemetry\Contrib\Otlp vendor/open-telemetry/exporter-otlp/AttributesConverter.php
AttributesFactory final class OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributesFactory.php @internal
AttributesFactoryInterface interface OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributesFactoryInterface.php 2 6
AttributesInterface interface OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php @psalm-suppress MissingTemplateParam 1 42
AttributesOrderSniff class SlevomatCodingStandard\Sniffs\Attributes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Attributes/AttributesOrderSniff.php
AttributesRequestMatcher class Symfony\Component\HttpFoundation\RequestMatcher vendor/symfony/http-foundation/RequestMatcher/AttributesRequestMatcher.php Checks the Request attributes matches all regular expressions.
AttributeString class Drupal\Core\Template core/lib/Drupal/Core/Template/AttributeString.php A class that represents most standard HTML attributes.
AttributeValidator class OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributeValidator.php
AttributeValidatorInterface interface OpenTelemetry\SDK\Common\Attribute vendor/open-telemetry/sdk/Common/Attribute/AttributeValidatorInterface.php 2
AttributeValueBase abstract class Drupal\Core\Template core/lib/Drupal/Core/Template/AttributeValueBase.php Defines the base class for an attribute type. 3
AudioFile class Drupal\media\Plugin\media\Source core/modules/media/src/Plugin/media/Source/AudioFile.php Media source wrapping around an audio file.
AuditCommand class Composer\Command vendor/composer/composer/src/Composer/Command/AuditCommand.php
AuditException class Drupal\migrate\Audit core/modules/migrate/src/Audit/AuditException.php Defines an exception to throw if an error occurs during a migration audit.
Auditor class Composer\Advisory vendor/composer/composer/src/Composer/Advisory/Auditor.php @internal 11
AuditorInterface interface Drupal\migrate\Audit core/modules/migrate/src/Audit/AuditorInterface.php Defines an interface for migration auditors. 1
AuditResult class Drupal\migrate\Audit core/modules/migrate/src/Audit/AuditResult.php Encapsulates the result of a migration audit.
AuthenticationCollector class Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationCollector.php A collector class for authentication providers.
AuthenticationCollectorInterface interface Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Interface for collectors of registered authentication providers. 1
AuthenticationManager class Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationManager.php Manager for authentication.
AuthenticationProviderChallengeInterface interface Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationProviderChallengeInterface.php Generate a challenge when access is denied for unauthenticated users. 2 2
AuthenticationProviderFilterInterface interface Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php Restrict authentication methods to a subset of the site. 1 1
AuthenticationProviderInterface interface Drupal\Core\Authentication core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Interface for authentication providers. 3 3
AuthenticationProviderPass class Drupal\Core\DependencyInjection\Compiler core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php Registers the authentication_providers container parameter. 1
AuthenticationSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php Authentication subscriber.
AuthenticatorInterface interface Symfony\Component\Mailer\Transport\Smtp\Auth vendor/symfony/mailer/Transport/Smtp/Auth/AuthenticatorInterface.php An Authentication mechanism. 4 1
AuthHelper class Composer\Util vendor/composer/composer/src/Composer/Util/AuthHelper.php @author Jordi Boggiano <j.boggiano@seld.be> 1
Author class PharIo\Manifest vendor/phar-io/manifest/src/values/Author.php
Author final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php Reflection class for an {author tag in a Docblock. 1
AuthorCollection class PharIo\Manifest vendor/phar-io/manifest/src/values/AuthorCollection.php @template-implements IteratorAggregate<int,Author>
AuthorCollectionIterator class PharIo\Manifest vendor/phar-io/manifest/src/values/AuthorCollectionIterator.php @template-implements Iterator<int,Author>
AuthorElement class PharIo\Manifest vendor/phar-io/manifest/src/xml/AuthorElement.php
AuthorElementCollection class PharIo\Manifest vendor/phar-io/manifest/src/xml/AuthorElementCollection.php

Pagination

  • First page
  • Previous page
  • …
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal