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
InvalidLibrariesExtendSpecificationException class Drupal\Core\Asset\Exception core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesExtendSpecificationException.php Defines a custom exception for an invalid libraries-extend specification. 1
InvalidLibrariesOverrideSpecificationException class Drupal\Core\Asset\Exception core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesOverrideSpecificationException.php Defines a custom exception if a definition refers to a non-existent library. 2
InvalidLibraryFileException class Drupal\Core\Asset\Exception core/lib/Drupal/Core/Asset/Exception/InvalidLibraryFileException.php Defines an exception if the library file could not be parsed. 1
InvalidLinkTemplateException class Drupal\Core\Entity\Exception core/lib/Drupal/Core/Entity/Exception/InvalidLinkTemplateException.php Indicates that a link template does not follow the required pattern. 1
InvalidLookupKeyException class Drupal\Core\Config\Entity\Query core/lib/Drupal/Core/Config/Entity/Query/InvalidLookupKeyException.php Exception thrown when a config entity uses an invalid lookup key.
InvalidMergeQueryException class Drupal\Core\Database\Query core/lib/Drupal/Core/Database/Query/InvalidMergeQueryException.php Exception thrown for merge queries that do not make semantic sense.
InvalidMetadataException class Symfony\Component\HttpKernel\Exception vendor/symfony/http-kernel/Exception/InvalidMetadataException.php
InvalidMethodNameException final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/InvalidMethodNameException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
InvalidOptionException class Symfony\Component\Console\Exception vendor/symfony/console/Exception/InvalidOptionException.php Represents an incorrect option name or value typed in the console. 1
InvalidOptionsException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/InvalidOptionsException.php 1
InvalidOrderException final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Exception/InvalidOrderException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidPackageException class Composer\Package\Loader vendor/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php @author Jordi Boggiano <j.boggiano@seld.be> 2
InvalidParameterException class Symfony\Component\Routing\Exception vendor/symfony/routing/Exception/InvalidParameterException.php Exception thrown when a parameter is not valid. 5
InvalidParameterTypeException class Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php Thrown when trying to inject a parameter into a constructor/method with an incompatible type. 1
InvalidPhptFileException final class PHPUnit\Runner vendor/phpunit/phpunit/src/Runner/Exception/InvalidPhptFileException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidPluginDefinitionException class Drupal\Component\Plugin\Exception core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Defines a class for invalid plugin definition exceptions. 1 14
InvalidPreReleaseSuffixException class PharIo\Version vendor/phar-io/version/src/exceptions/InvalidPreReleaseSuffixException.php
InvalidPropertyOrMethod class Ramsey\Collection\Exception vendor/ramsey/collection/src/Exception/InvalidPropertyOrMethod.php Thrown when attempting to evaluate a property, method, or array key that doesn't exist on an element or cannot otherwise be evaluated in the current context. 3
InvalidQueryException class Drupal\Core\Database core/lib/Drupal/Core/Database/InvalidQueryException.php Exception thrown if a query would be invalid. 1
InvalidRegexPatternRule class Composer\Pcre\PHPStan vendor/composer/pcre/src/PHPStan/InvalidRegexPatternRule.php Copy of PHPStan's RegularExpressionPatternRule
InvalidRepositoryException class Composer\Repository vendor/composer/composer/src/Composer/Repository/InvalidRepositoryException.php Exception thrown when a package repository is utterly broken
InvalidRequest final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidRequest.php WebDriver\Exception\InvalidRequest class
InvalidSchemaException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php Wrapper for the InvalidSchemaMediaType 1
InvalidSchemaMediaTypeException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php Wrapper for the InvalidSchemaMediaType 1
InvalidSelector final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidSelector.php WebDriver\Exception\InvalidSelector class
InvalidSessionID final class WebDriver\Exception vendor/lullabot/php-webdriver/lib/WebDriver/Exception/InvalidSessionID.php WebDriver\Exception\InvalidSessionID class
InvalidSocketException final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/Exception/InvalidSocketException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
InvalidSourceUriException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSourceUriException.php Wrapper for the InvalidSourceUriException
InvalidStreamWrapperException class Drupal\Core\File\Exception core/lib/Drupal/Core/File/Exception/InvalidStreamWrapperException.php Exception thrown when a file's stream wrapper is invalid. 6
InvalidSubscriberException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/InvalidSubscriberException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
InvalidTag final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php This class represents an exception during the tag creation 3
InvalidTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/InvalidTagValueNode.php @property ParserException $exception 2
InvalidTtlException class Symfony\Component\Lock\Exception vendor/symfony/lock/Exception/InvalidTtlException.php @author Amrouche Hamza <hamza.simperfit@gmail.com> 6
InvalidTypeNode class PHPStan\PhpDocParser\Ast\Type vendor/phpstan/phpdoc-parser/src/Ast/Type/InvalidTypeNode.php 1
InvalidUrlException class PharIo\Manifest vendor/phar-io/manifest/src/exceptions/InvalidUrlException.php
InvalidUuidStringException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php Thrown to indicate that the string received is not a valid UUID 2
InvalidVersionException class PharIo\Version vendor/phar-io/version/src/exceptions/InvalidVersionException.php
InvalidVersionIdentifierException class Drupal\jsonapi\Revisions core/modules/jsonapi/src/Revisions/InvalidVersionIdentifierException.php Used when a version ID is invalid.
InvalidVersionOperatorException final class PHPUnit\Util vendor/phpunit/phpunit/src/Util/Exception/InvalidVersionOperatorException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
InvalidVersionRequirementException final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/Exception/InvalidVersionRequirementException.php 3
Invocation final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Invocation.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 19
InvocationHandler final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/InvocationHandler.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
InvocationMocker final class PHPUnit\Framework\MockObject\Builder vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Builder/InvocationMocker.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 7
InvocationMockerDynamicReturnTypeExtension class PHPStan\Type\PHPUnit vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php
InvocationOrder abstract class PHPUnit\Framework\MockObject\Rule vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvocationOrder.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 5 4
InvocationStubber interface PHPUnit\Framework\MockObject\Builder vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Builder/InvocationStubber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 1
InvokeCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/InvokeCommand.php AJAX command for invoking an arbitrary jQuery method. 4
InvokedAtLeastCount final class PHPUnit\Framework\MockObject\Rule vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtLeastCount.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
InvokedAtLeastOnce final class PHPUnit\Framework\MockObject\Rule vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtLeastOnce.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
InvokedAtMostCount final class PHPUnit\Framework\MockObject\Rule vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Rule/InvokedAtMostCount.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3

Pagination

  • First page
  • Previous page
  • …
  • Page 96
  • Page 97
  • Page 98
  • Page 99
  • Page 100
  • Page 101
  • Page 102
  • Page 103
  • Page 104
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal