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 |
---|---|---|---|---|---|---|---|---|
InvokedCount | final class | PHPUnit\Framework\MockObject\Rule | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
Invoker | final class | SebastianBergmann\Invoker | vendor/ |
3 | ||||
IOException | class | PhpTuf\ComposerStager\API\Exception | vendor/ |
This exception represents a device error, such as a failed filesystem operation. | 4 | |||
IOException | class | Symfony\Component\Filesystem\Exception | vendor/ |
Exception class thrown when a filesystem operation failure happens. | 1 | 3 | ||
IOExceptionInterface | interface | Symfony\Component\Filesystem\Exception | vendor/ |
IOException interface for file and input/output stream related exceptions thrown by the component. | 1 | |||
IOInterface | interface | Composer\IO | vendor/ |
The Input/Output helper interface. | 1 | 99 | ||
Ip | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is a valid IP address. | ||||
IpCacheContext | class | Drupal\Core\Cache\Context | core/ |
Defines the IpCacheContext service, for "per IP address" caching. | ||||
IpsRequestMatcher | class | Symfony\Component\HttpFoundation\RequestMatcher | vendor/ |
Checks the client IP of a Request. | ||||
IpUtils | class | Symfony\Component\HttpFoundation | vendor/ |
Http utility functions. | 3 | |||
IPV6BadChar | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6ColonEnd | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6ColonStart | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6Deprecated | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6DoubleColon | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6GroupCount | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IPV6MaxGroups | class | Egulias\EmailValidator\Warning | vendor/ |
1 | ||||
IpValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates whether a value is a valid IP address. | ||||
IrrecoverableDownloadException | class | Composer\Exception | vendor/ |
@author Jordi Boggiano <j.boggiano@seld.be> | 3 | |||
Is | final class | GuzzleHttp\Promise | vendor/ |
|||||
IsAnything | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
Isbn | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is a valid ISBN according to ISBN-10 or ISBN-13 formats. | ||||
IsbnValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates whether the value is a valid ISBN-10 or ISBN-13. | ||||
IsEmpty | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsEqual | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
IsEqualCanonicalizing | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsEqualIgnoringCase | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsEqualWithDelta | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsFalse | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is false. | ||||
IsFalse | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsFalseValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
@author Bernhard Schussek <bschussek@gmail.com> | ||||
IsFinite | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsFrontPathCacheContext | class | Drupal\Core\Cache\Context | core/ |
Defines a cache context for whether the URL is the front page of the site. | ||||
IsIdentical | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
Isin | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is a valid International Securities Identification Number (ISIN). | ||||
IsInfinite | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsInstanceOf | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
IsinValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
@author Laurent Masforné <l.masforne@gmail.com> | ||||
IsJson | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsJsonRequestMatcher | class | Symfony\Component\HttpFoundation\RequestMatcher | vendor/ |
Checks the Request content is valid JSON. | ||||
IsList | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsNan | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IsNull | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is exactly equal to null. | 1 | 1 | ||
IsNull | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 3 | |||
IsNullConstraint | class | Drupal\Core\Validation\Plugin\Validation\Constraint | core/ |
Null constraint. | ||||
IsNullConstraintValidator | class | Drupal\Core\Validation\Plugin\Validation\Constraint | core/ |
Null constraint validator. | ||||
IsNullValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
@author Bernhard Schussek <bschussek@gmail.com> | 1 | 1 | ||
IsReadable | final class | PHPUnit\Framework\Constraint | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
Isset_ | class | PhpParser\Node\Expr | vendor/ |
|||||
Issn | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a value is a valid International Standard Serial Number (ISSN). |