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
UnknownExtensionTypeException class Drupal\Core\Extension\Exception core/lib/Drupal/Core/Extension/Exception/UnknownExtensionTypeException.php Exception thrown when a specified extension type is not known. 1
UnknownLocatorStrategy final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnknownLocatorStrategy.php WebDriver\Exception\UnknownLocatorStrategy class
UnknownMethod final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnknownMethod.php WebDriver\Exception\UnknownMethod class
UnknownOptionException final class SebastianBergmann\CliParser vendor/sebastian/cli-parser/src/exceptions/UnknownOptionException.php
UnknownPathExcluder final class Drupal\package_manager\PathExcluder core/modules/package_manager/src/PathExcluder/UnknownPathExcluder.php Excludes unknown paths from stage operations.
UnknownRecipeException final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/UnknownRecipeException.php Exception thrown when recipe is can not be found.
UnknownSubscriberException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/UnknownSubscriberException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownSubscriberTypeException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/UnknownSubscriberTypeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 13
UnknownTraitException

https://github.com/sebastianbergmann/phpunit/issues/5243

final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/UnknownTraitException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnknownType final class SebastianBergmann\Type vendor/sebastian/type/src/type/UnknownType.php 1
UnknownTypeException final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/UnknownTypeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
UnknownTypeException final class PHPUnit\Framework vendor/phpunit/phpunit/src/Framework/Exception/UnknownTypeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
UnmetDependenciesException class Drupal\Core\Config core/lib/Drupal/Core/Config/UnmetDependenciesException.php An exception thrown if configuration has unmet dependencies. 4
UnnecessaryFinalModifierSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php
UnnecessaryHeredocSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Strings vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php
UnnecessaryStringConcatSniff class Drupal\Sniffs\Strings vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Strings/UnnecessaryStringConcatSniff.php Checks that two strings are not concatenated together; suggests using one string instead.
UnnecessaryStringConcatSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\Strings vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php 1 1
UnOpenedComment class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/UnOpenedComment.php 1
UnprocessableEntityHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/UnprocessableEntityHttpException.php @author Steve Hutchins <hutchinsteve@gmail.com> 1 10
UnprocessableHttpEntityException class Drupal\jsonapi\Exception core/modules/jsonapi/src/Exception/UnprocessableHttpEntityException.php A class to represent a 422 - Unprocessable Entity Exception. 2
UnprocessableHttpEntityExceptionNormalizer class Drupal\jsonapi\Normalizer core/modules/jsonapi/src/Normalizer/UnprocessableHttpEntityExceptionNormalizer.php Normalizes and UnprocessableHttpEntityException. 2
UnpublishAction class Drupal\Core\Action\Plugin\Action core/lib/Drupal/Core/Action/Plugin/Action/UnpublishAction.php Unpublishes an entity. 1 2
UnresolvableJsonPointerException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UnresolvableJsonPointerException.php @package JsonSchema\Exception 1
UnroutedUrlAssembler class Drupal\Core\Utility core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php Provides a way to build external or non Drupal local domain URLs.
UnroutedUrlAssemblerInterface interface Drupal\Core\Utility core/lib/Drupal/Core/Utility/UnroutedUrlAssemblerInterface.php Provides a way to build external or non Drupal local domain URLs. 1 3
UnsafeStrictGroupsCallRule final class Composer\Pcre\PHPStan vendor/composer/pcre/src/PHPStan/UnsafeStrictGroupsCallRule.php @implements Rule<StaticCall>
UnserializableKeyException class Symfony\Component\Lock\Exception vendor/symfony/lock/Exception/UnserializableKeyException.php UnserializableKeyException is thrown when the key contains state that can no be serialized and the user try to serialize it. ie. Connection with a database, flock, semaphore, ... 1
Unset_ class PhpParser\Node\Expr\Cast vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php
Unset_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php
UnsilencedDeprecationSniff class Drupal\Sniffs\Semantics vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Semantics/UnsilencedDeprecationSniff.php Checks that the trigger_error deprecation is silenced by a preceding '@'.
UnstickyNode class Drupal\node\Plugin\Action core/modules/node/src/Plugin/Action/UnstickyNode.php Makes a node not sticky.
UnstructuredHeader class Symfony\Component\Mime\Header vendor/symfony/mime/Header/UnstructuredHeader.php A Simple MIME Header. 3 6
UnsupportedClassGroupException class SlevomatCodingStandard\Sniffs\Classes vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Classes/UnsupportedClassGroupException.php
UnsupportedDataTypeConfigException class Drupal\Core\Config core/lib/Drupal/Core/Config/UnsupportedDataTypeConfigException.php Exception thrown when a config data type is invalid.
UnsupportedDriverActionException class Behat\Mink\Exception vendor/behat/mink/src/Exception/UnsupportedDriverActionException.php Exception thrown by drivers when they don't support the requested action. 3
UnsupportedEntityTypeDefinitionException class Drupal\Core\Entity\Exception core/lib/Drupal/Core/Entity/Exception/UnsupportedEntityTypeDefinitionException.php Defines an exception thrown when an entity type definition is invalid. 4
UnsupportedException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/UnsupportedException.php UnsupportedException. 1
UnsupportedFeatureException final class Revolt\EventLoop vendor/revolt/event-loop/src/EventLoop/UnsupportedFeatureException.php MUST be thrown if a feature is not supported by the system. 2
UnsupportedFormatException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/UnsupportedFormatException.php @author Konstantin Myakshin <molodchick@gmail.com> 2
UnsupportedKeywordException class SlevomatCodingStandard\Sniffs\ControlStructures vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/UnsupportedKeywordException.php
UnsupportedMediaTypeHttpException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/UnsupportedMediaTypeHttpException.php @author Ben Ramsey <ben@benramsey.com> 1 3
UnsupportedMetadataException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/UnsupportedMetadataException.php @author Bernhard Schussek <bschussek@gmail.com> 1
UnsupportedOperation final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/UnsupportedOperation.php WebDriver\Exception\UnsupportedOperation class
UnsupportedOperationException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php Thrown to indicate that the requested operation is not supported 6
UnsupportedOperationException class Ramsey\Collection\Exception vendor/ramsey/collection/src/Exception/UnsupportedOperationException.php Thrown to indicate that the requested operation is not supported. 3
UnsupportedPhptSectionException final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Exception/UnsupportedPhptSectionException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
UnsupportedSchemeException class Symfony\Component\Mailer\Exception vendor/symfony/mailer/Exception/UnsupportedSchemeException.php @author Konstantin Myakshin <molodchick@gmail.com> 7
UnsupportedVersionConstraintException final class PharIo\Version vendor/phar-io/version/src/exceptions/UnsupportedVersionConstraintException.php 1
UntrustedCallbackException class Drupal\Core\Security core/lib/Drupal/Core/Security/UntrustedCallbackException.php Exception thrown if a callback is untrusted.
UnusedFunctionParameterSniff class PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php

Pagination

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