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 |
---|---|---|---|---|---|---|---|---|
IdenticalValueToken | class | Prophecy\Argument\Token | vendor/ |
Identical value token. | ||||
IdentificationHeader | final class | Symfony\Component\Mime\Header | vendor/ |
An ID MIME Header for something like Message-ID or Content-ID (one or more addresses). | ||||
IdentificatorHelper | class | SlevomatCodingStandard\Helpers | vendor/ |
@internal | 11 | |||
Identifier | class | PhpParser\Node | vendor/ |
Represents a non-namespaced name. Namespaced names are represented using Name nodes. | 1 | 23 | ||
Identifier | class | Peast\Syntax\Node | vendor/ |
A node that represents an identifier. | 1 | 1 | ||
IdentifierHandler | class | Symfony\Component\CssSelector\Parser\Handler | vendor/ |
CSS selector comment handler. | ||||
IdentifierTypeNode | class | PHPStan\PhpDocParser\Ast\Type | vendor/ |
20 | ||||
Identity | interface | PHPUnit\Framework\MockObject\Builder | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
IdentityAttributeProcessor | final class | OpenTelemetry\SDK\Metrics\AttributeProcessor | vendor/ |
@internal | ||||
IdentityMarshaller | class | Symfony\Component\HttpFoundation\Session\Storage\Handler | vendor/ |
@author Ahmed TAILOULOUTE <ahmed.tailouloute@gmail.com> | ||||
IdGeneratorInterface | interface | OpenTelemetry\SDK\Trace | vendor/ |
1 | ||||
IDLeftPart | class | Egulias\EmailValidator\Parser | vendor/ |
1 | ||||
Idn | final class | Symfony\Polyfill\Intl\Idn | vendor/ |
@internal | ||||
IdnAddressEncoder | final class | Symfony\Component\Mime\Encoder | vendor/ |
An IDN email address encoder. | 1 | |||
IDRightPart | class | Egulias\EmailValidator\Parser | vendor/ |
1 | ||||
IfNode | class | Twig\Node | vendor/ |
Represents an if node. | 1 | |||
IFrameMarkup | class | Drupal\media | core/ |
Defines an object that wraps oEmbed markup for use in an iFrame. | 1 | |||
IFrameUrlHelper | class | Drupal\media | core/ |
Providers helper functions for displaying oEmbed resources in an iFrame. | 4 | 2 | ||
IfStatement | class | Peast\Syntax\Node | vendor/ |
A node that represents an if statement. For example: if (test) {} else {} | ||||
IfTokenParser | final class | Twig\TokenParser | vendor/ |
Tests a condition. | 1 | |||
If_ | class | PhpParser\Node\Stmt | vendor/ |
1 | ||||
Ignore | class | Symfony\Component\Serializer\Attribute | vendor/ |
@author Kévin Dunglas <dunglas@gmail.com> | 5 | |||
Ignore | class | Drupal\Core\Config\Schema | core/ |
Configuration property to ignore. | 1 | 1 | ||
IgnoreAllPlatformRequirementFilter | final class | Composer\Filter\PlatformRequirementFilter | vendor/ |
4 | ||||
IgnoreAnnotation | final class | Doctrine\Common\Annotations\Annotation | vendor/ |
Annotation that can be used to signal to the parser to ignore specific annotations during the parsing process. | 1 | |||
IgnoreClassForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Metadata | vendor/ |
@psalm-immutable | 1 | ||
IgnoreClassForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | ||
IgnoreDeprecations | final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 2 | |||
IgnoreDeprecations | final class | PHPUnit\Metadata | vendor/ |
@psalm-immutable | ||||
IgnoreDeprecationsScope | final class | mglaman\PHPStanDrupal\DeprecatedScope | vendor/ |
|||||
IgnoredLinesFindingVisitor | final class | SebastianBergmann\CodeCoverage\StaticAnalysis | vendor/ |
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage | ||||
IgnoredSecurityAdvisory | class | Composer\Advisory | vendor/ |
|||||
IgnoredWorkspaceHandler | class | Drupal\workspaces\Entity\Handler | core/ |
Defines a handler for entity types that are ignored by workspaces. | 3 | |||
IgnoreFunctionForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Metadata | vendor/ |
@psalm-immutable | 1 | ||
IgnoreFunctionForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | ||
IgnoreListPlatformRequirementFilter | final class | Composer\Filter\PlatformRequirementFilter | vendor/ |
4 | ||||
IgnoreMethodForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Framework\Attributes | vendor/ |
@psalm-immutable | 1 | ||
IgnoreMethodForCodeCoverage | https://github.com/sebastianbergmann/phpunit/issues/5513 |
final class | PHPUnit\Metadata | vendor/ |
@psalm-immutable | 1 | ||
IgnoreNothingPlatformRequirementFilter | final class | Composer\Filter\PlatformRequirementFilter | vendor/ |
|||||
IllogicalValuesException | final class | SebastianBergmann\LinesOfCode | vendor/ |
|||||
Image | class | Drupal\ckeditor5\Plugin\CKEditor5Plugin | core/ |
CKEditor 5 Image plugin. | 1 | |||
Image | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates that a file (or a path to a file) is a valid image. | 1 | |||
Image | class | Symfony\Component\DomCrawler | vendor/ |
Image represents an HTML image (an HTML img tag). | ||||
Image | class | Drupal\Component\Utility | core/ |
Provides helpers to operate on images. | 3 | |||
Image | class | Drupal\media\Plugin\media\Source | core/ |
Image entity media source. | ||||
Image | class | Drupal\Core\Image | core/ |
Defines an image object to represent an image file. | ||||
ImageButton | class | Drupal\Core\Render\Element | core/ |
Provides a form element for a submit button with an image. | ||||
ImageCacheActions | class | Drupal\image\Plugin\migrate\process\d6 | core/ |
Defines the image cache actions migrate process plugin. | ||||
ImageCachePreset | class | Drupal\image\Plugin\migrate\source\d6 | core/ |
Drupal 6 imagecache presets source from database. | ||||
ImageCMSInstaller | class | Composer\Installers | vendor/ |