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
UnexpectedOutputPrinter final class PHPUnit\TextUI\Output\Default vendor/phpunit/phpunit/src/TextUI/Output/Default/UnexpectedOutputPrinter.php 1
UnexpectedParameters final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnexpectedParameters.php WebDriver\Exception\UnexpectedParameters class
UnexpectedPropertyException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/UnexpectedPropertyException.php UnexpectedPropertyException. 3
UnexpectedResponseException class Symfony\Component\Mailer\Exception vendor/symfony/mailer/Exception/UnexpectedResponseException.php 2
UnexpectedSessionUsageException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/UnexpectedSessionUsageException.php @author Mathias Arlaud <mathias.arlaud@gmail.com> 1
UnexpectedTypeException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/UnexpectedTypeException.php 1 86
UnexpectedTypeException class Symfony\Component\HttpFoundation\File\Exception vendor/symfony/http-foundation/File/Exception/UnexpectedTypeException.php
UnexpectedValueException class Symfony\Component\HttpFoundation\Exception vendor/symfony/http-foundation/Exception/UnexpectedValueException.php 5 2
UnexpectedValueException final class Http\Adapter\Guzzle7\Exception vendor/php-http/guzzle7-adapter/src/Exception/UnexpectedValueException.php 1 1
UnexpectedValueException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/UnexpectedValueException.php @author Christian Flothmann <christian.flothmann@sensiolabs.de> 43
UnexpectedValueException class Doctrine\Instantiator\Exception vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php Exception for given parameters causing invalid/unexpected state on instantiation 1
UnexpectedValueException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/UnexpectedValueException.php UnexpectedValueException. 5 11
UnexpectedValueException class Symfony\Component\BrowserKit\Exception vendor/symfony/browser-kit/Exception/UnexpectedValueException.php 1 1
UnformattedSummary class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/UnformattedSummary.php The default style plugin for summaries.
Unicode class Drupal\Component\Utility core/lib/Drupal/Component/Utility/Unicode.php Provides Unicode-related conversions and operations. 34
UnicodeString class Symfony\Component\String vendor/symfony/string/UnicodeString.php Represents a string of Unicode grapheme clusters encoded as UTF-8. 3
UnifiedDiffOutputBuilder final class SebastianBergmann\Diff\Output vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php Builds a diff string representation in unified diff format in chunks. 3
UninitializedStub class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/UninitializedStub.php Represents an uninitialized property.
UninstalledExtensionException class Drupal\Core\Extension\Exception core/lib/Drupal/Core/Extension/Exception/UninstalledExtensionException.php Exception class thrown when a specified extension has not been installed.
UninstallOperation class Composer\DependencyResolver\Operation vendor/composer/composer/src/Composer/DependencyResolver/Operation/UninstallOperation.php Solver uninstall operation. 7
UnintentionallyCoveredCodeException final class SebastianBergmann\CodeCoverage vendor/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php 4
UninterpretedOption class Google\Protobuf\Internal vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects…
UnionType class PhpParser\Node vendor/nikic/php-parser/lib/PhpParser/Node/UnionType.php 2
UnionType final class SebastianBergmann\Type vendor/sebastian/type/src/type/UnionType.php
UnionTypeHintFormatSniff class SlevomatCodingStandard\Sniffs\TypeHints vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/UnionTypeHintFormatSniff.php
UnionTypeNode class PHPStan\PhpDocParser\Ast\Type vendor/phpstan/phpdoc-parser/src/Ast/Type/UnionTypeNode.php 11
Unique class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Unique.php Validates that all the elements of the given collection are unique.
UniqueFieldConstraint class Drupal\Core\Validation\Plugin\Validation\Constraint core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldConstraint.php Checks if an entity field has a unique value. 3 3
UniqueFieldValueValidator class Drupal\Core\Validation\Plugin\Validation\Constraint core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UniqueFieldValueValidator.php Validates that a field is unique for the given entity type. 1
UniqueLabelInListConstraint class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php Uniquely labeled list item constraint.
UniqueLabelInListConstraintValidator class Drupal\ckeditor5\Plugin\Validation\Constraint core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraintValidator.php Uniquely labeled list item constraint validator.
UniquePathAliasConstraint class Drupal\Core\Path\Plugin\Validation\Constraint core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraint.php Validation constraint for unique path alias values.
UniquePathAliasConstraintValidator class Drupal\Core\Path\Plugin\Validation\Constraint core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/UniquePathAliasConstraintValidator.php Constraint validator for a unique path alias.
UniqueValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/UniqueValidator.php @author Yevgeniy Zholkevskiy <zhenya.zholkevskiy@gmail.com>
Unit final class SebastianBergmann\CodeCoverage\Report\Xml vendor/phpunit/php-code-coverage/src/Report/Xml/Unit.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
UnixPipes class Symfony\Component\Process\Pipes vendor/symfony/process/Pipes/UnixPipes.php UnixPipes implementation uses unix pipes as handles. 1
UnixTimeConverter class Ramsey\Uuid\Converter\Time vendor/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php UnixTimeConverter converts Unix Epoch timestamps to/from hexadecimal values consisting of milliseconds elapsed since the Unix Epoch 1
UnixTimeGenerator class Ramsey\Uuid\Generator vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php UnixTimeGenerator generates bytes that combine a 48-bit timestamp in milliseconds since the Unix Epoch with 80 random bits 2
Unknown final class PHPUnit\Framework\TestStatus vendor/phpunit/phpunit/src/Framework/TestStatus/Unknown.php @psalm-immutable
Unknown final class SebastianBergmann\CodeCoverage\Test\TestSize vendor/phpunit/php-code-coverage/src/TestSize/Unknown.php @psalm-immutable
Unknown final class SebastianBergmann\CodeCoverage\Test\TestStatus vendor/phpunit/php-code-coverage/src/TestStatus/Unknown.php @psalm-immutable
Unknown final class PHPUnit\Framework\TestSize vendor/phpunit/phpunit/src/Framework/TestSize/Unknown.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownCheckpointException final class Drupal\Core\Config\Checkpoint core/lib/Drupal/Core/Config/Checkpoint/UnknownCheckpointException.php Thrown when trying to access a checkpoint that does not exist.
UnknownClassException final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/UnknownClassException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownClassOrInterfaceException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/UnknownClassOrInterfaceException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
UnknownCommand final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnknownCommand.php WebDriver\Exception\UnknownCommand class 1
UnknownError final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnknownError.php WebDriver\Exception\UnknownError class 1
UnknownEventException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/UnknownEventException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownEventTypeException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/UnknownEventTypeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownExtensionException class Drupal\Core\Extension\Exception core/lib/Drupal/Core/Extension/Exception/UnknownExtensionException.php Exception class thrown when a specified extension is not on the filesystem. 9

Pagination

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