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
TypeResolver final class phpDocumentor\Reflection vendor/phpdocumentor/type-resolver/src/TypeResolver.php 22
TypesNode class Twig\Node vendor/twig/twig/src/Node/TypesNode.php Represents a types node. 1
TypesTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/TypesTokenParser.php Declare variable types. 1
TypeToken class Prophecy\Argument\Token vendor/phpspec/prophecy/src/Prophecy/Argument/Token/TypeToken.php Value type token.
TypeTrait trait Ramsey\Collection\Tool vendor/ramsey/collection/src/Tool/TypeTrait.php Provides functionality to check values for specific types. 4
TypeValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/TypeValidator.php @author Bernhard Schussek <bschussek@gmail.com>
Uid class Drupal\user\Plugin\views\argument core/modules/user/src/Plugin/views/argument/Uid.php Argument handler to accept a user id. 1 1
UidNormalizer final class Symfony\Component\Serializer\Normalizer vendor/symfony/serializer/Normalizer/UidNormalizer.php 1
UidNormalizerContextBuilder final class Symfony\Component\Serializer\Context\Normalizer vendor/symfony/serializer/Context/Normalizer/UidNormalizerContextBuilder.php A helper providing autocompletion for available UidNormalizer options.
UidRevision class Drupal\node\Plugin\views\argument core/modules/node/src/Plugin/views/argument/UidRevision.php Filter handler, accepts a user ID.
UidRevision class Drupal\node\Plugin\views\filter core/modules/node/src/Plugin/views/filter/UidRevision.php Filter handler to check for revisions a certain user has created.
UidValueResolver final class Symfony\Component\HttpKernel\Controller\ArgumentResolver vendor/symfony/http-kernel/Controller/ArgumentResolver/UidValueResolver.php
UInt32Value class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/UInt32Value.php Wrapper message for `uint32`. The JSON representation for `UInt32Value` is JSON number.
UInt64Value class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/UInt64Value.php Wrapper message for `uint64`. The JSON representation for `UInt64Value` is JSON string.
Ulid class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Ulid.php Validates that a value is a valid Universally Unique Lexicographically Sortable Identifier (ULID).
UlidValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/UlidValidator.php Validates whether the value is a valid ULID (Universally Unique Lexicographically Sortable Identifier). Cf https://github.com/ulid/spec for ULID specifications.
UnableToBuildUuidException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php Thrown to indicate a builder is unable to build a UUID 4
UnableToCaptureScreen final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnableToCaptureScreen.php WebDriver\Exception\UnableToCaptureScreen class
UnableToGetDNSRecord class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/UnableToGetDNSRecord.php Used on SERVFAIL, TIMEOUT or other runtime and network errors 1
UnableToSetCookie final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnableToSetCookie.php WebDriver\Exception\UnableToSetCookie class
UnanimousStrategy class Symfony\Component\Lock\Strategy vendor/symfony/lock/Strategy/UnanimousStrategy.php UnanimousStrategy is a StrategyInterface implementation where 100% of elements should be successful.
UnapprovedComments class Drupal\comment\Plugin\Menu\LocalTask core/modules/comment/src/Plugin/Menu/LocalTask/UnapprovedComments.php Provides a local task that shows the amount of unapproved comments. 1
UnaryExpression class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/UnaryExpression.php A node that represents a unary expression. For example: !a
UnaryMinus class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php
UnaryOperator abstract class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Operator/UnaryOperator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
UnaryPlus class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php
UnauthorizedHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/UnauthorizedHttpException.php @author Ben Ramsey <ben@benramsey.com> 1 2
UnblockUser class Drupal\user\Plugin\Action core/modules/user/src/Plugin/Action/UnblockUser.php Unblocks a user.
UncacheableDependencyTrait trait Drupal\Core\Cache core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php Trait to implement CacheableDependencyInterface for uncacheable objects. 2
UncacheableFieldHandlerTrait trait Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/UncacheableFieldHandlerTrait.php Trait encapsulating the logic for uncacheable field handlers.
UncaughtThrowable final class Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/UncaughtThrowable.php 1
UnchangingCacheableDependencyTrait trait Drupal\Core\Cache core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php Trait to implement CacheableDependencyInterface for unchanging objects. 4
UnclosedComment class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/UnclosedComment.php 1
UnclosedQuotedString class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/UnclosedQuotedString.php 1
UnconditionalIfStatementSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php
Undefined class Drupal\Core\Config\Schema core/lib/Drupal/Core/Config/Schema/Undefined.php Undefined configuration element. 2 1
Undefined class Seld\JsonLint vendor/seld/jsonlint/src/Seld/JsonLint/Undefined.php
UndefinedConstraint class JsonSchema\Constraints vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php The UndefinedConstraint Constraints
UndefinedExtensionHandler class Symfony\Component\DependencyInjection\Loader vendor/symfony/dependency-injection/Loader/UndefinedExtensionHandler.php 1
UndefinedFunctionError class Symfony\Component\ErrorHandler\Error vendor/symfony/error-handler/Error/UndefinedFunctionError.php 1
UndefinedFunctionErrorEnhancer class Symfony\Component\ErrorHandler\ErrorEnhancer vendor/symfony/error-handler/ErrorEnhancer/UndefinedFunctionErrorEnhancer.php @author Fabien Potencier <fabien@symfony.com> 1
UndefinedLinkTemplateException class Drupal\Core\Entity\Exception core/lib/Drupal/Core/Entity/Exception/UndefinedLinkTemplateException.php Defines an exception class for undefined link templates. 3
UndefinedMethodError class Symfony\Component\ErrorHandler\Error vendor/symfony/error-handler/Error/UndefinedMethodError.php 1
UndefinedMethodErrorEnhancer class Symfony\Component\ErrorHandler\ErrorEnhancer vendor/symfony/error-handler/ErrorEnhancer/UndefinedMethodErrorEnhancer.php @author Grégoire Pineau <lyrixx@lyrixx.info> 1
Unescaper class Symfony\Component\Yaml vendor/symfony/yaml/Unescaper.php Unescaper encapsulates unescaping rules for single and double-quoted YAML strings.
UnexpectedAlertOpen final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnexpectedAlertOpen.php WebDriver\Exception\UnexpectedAlertOpen class
UnexpectedCallException class Prophecy\Exception\Call vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php 1
UnexpectedCallsCountException class Prophecy\Exception\Prediction vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php 1
UnexpectedCallsException class Prophecy\Exception\Prediction vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php 1 1
UnexpectedNullMatchException class Composer\Pcre vendor/composer/pcre/src/UnexpectedNullMatchException.php

Pagination

  • First page
  • Previous page
  • …
  • Page 194
  • Page 195
  • Page 196
  • Page 197
  • Page 198
  • Page 199
  • Page 200
  • Page 201
  • Page 202
  • …
  • 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