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