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 |
---|---|---|---|---|---|---|---|---|
IncompleteDsnException | class | Symfony\Component\Mailer\Exception | vendor/ |
@author Konstantin Myakshin <molodchick@gmail.com> | 3 | |||
IncompleteDsnTestTrait | trait | Symfony\Component\Mailer\Test | vendor/ |
|||||
IncompleteLibraryDefinitionException | class | Drupal\Core\Asset\Exception | core/ |
Defines a custom exception if a library has no CSS/JS/JS setting specified. | 1 | |||
IncompleteTest | interface | PHPUnit\Framework | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
IncompleteTestError | final class | PHPUnit\Framework | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
IncrementalForm | class | Drupal\migrate_drupal_ui\Form | core/ |
Migrate Upgrade Incremental form. | 1 | |||
IncrementDecrementSpacingSniff | class | PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace | vendor/ |
|||||
IncrementDecrementUsageSniff | class | PHP_CodeSniffer\Standards\Squiz\Sniffs\Operators | vendor/ |
|||||
IndentationHelper | class | SlevomatCodingStandard\Helpers | vendor/ |
@internal | 19 | |||
IndentationSniff | class | PHP_CodeSniffer\Standards\Squiz\Sniffs\CSS | vendor/ |
|||||
IndexedReader | class | Doctrine\Common\Annotations | vendor/ |
Allows the reader to be used in-place of Doctrine's reader. | ||||
IndexTid | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Allow taxonomy term ID(s) as argument. | ||||
IndexTidDepth | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Argument handler for taxonomy terms with depth. | ||||
IndexTidDepthModifier | class | Drupal\taxonomy\Plugin\views\argument | core/ |
Argument handler for to modify depth for a previous term. | ||||
InflateStream | final class | GuzzleHttp\Psr7 | vendor/ |
Uses PHP's zlib.inflate filter to inflate zlib (HTTP deflate, RFC1950) or gzipped (RFC1952) content. | ||||
InflectorInterface | interface | Symfony\Component\String\Inflector | vendor/ |
3 | 1 | |||
Info | class | PHP_CodeSniffer\Reports | vendor/ |
|||||
Info | class | Symfony\Polyfill\Intl\Idn | vendor/ |
@internal | ||||
Info | final class | PHPUnit\Event\Telemetry | vendor/ |
@psalm-immutable | 2 | |||
InfoHookDecorator | class | Drupal\Core\Plugin\Discovery | core/ |
Allows info hook implementations to enhance discovered plugin definitions. | 1 | |||
InfoParser | class | Drupal\Core\Extension | core/ |
Parses extension .info.yml files. | 1 | |||
InfoParserDynamic | class | Drupal\Core\Extension | core/ |
Parses dynamic .info.yml files that might change during the page request. | 1 | 1 | ||
InfoParserException | class | Drupal\Core\Extension | core/ |
An exception thrown by the InfoParser class whilst parsing info.yml files. | 1 | |||
InfoParserInterface | interface | Drupal\Core\Extension | core/ |
Interface for classes that parses Drupal's info.yml files. | 1 | |||
InheritanceOfDeprecatedClassRule | class | PHPStan\Rules\Deprecations | vendor/ |
@implements Rule<Class_> | ||||
InheritanceOfDeprecatedInterfaceRule | class | PHPStan\Rules\Deprecations | vendor/ |
@implements Rule<Interface_> | ||||
IniFileLoader | class | Symfony\Component\DependencyInjection\Loader | vendor/ |
IniFileLoader loads parameters from INI files. | 2 | |||
IniHelper | class | Composer\Util | vendor/ |
Provides ini file location functions that work with and without a restart. When the process has restarted it uses a tmp ini and stores the original ini locations in an environment variable. | 4 | |||
IniSetting | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 1 | |||
IniSettingCollection | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | 2 | |||
IniSettingCollectionIterator | final class | PHPUnit\TextUI\Configuration | vendor/ |
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit | ||||
IniSizeFileException | class | Symfony\Component\HttpFoundation\File\Exception | vendor/ |
Thrown when an UPLOAD_ERR_INI_SIZE error occurred with UploadedFile. | 1 | |||
InitCommand | class | Composer\Command | vendor/ |
@author Justin Rainbow <justin.rainbow@gmail.com> @author Jordi Boggiano <j.boggiano@seld.be> | ||||
Inline | class | Symfony\Component\Yaml | vendor/ |
Inline implements a YAML parser/dumper for the YAML inline syntax. | ||||
InlineBlock | class | Drupal\layout_builder\Plugin\Block | core/ |
Defines an inline block plugin type. | 1 | |||
InlineBlockDeriver | class | Drupal\layout_builder\Plugin\Derivative | core/ |
Provides inline block plugin definitions for all block types. | ||||
InlineBlockEntityOperations | class | Drupal\layout_builder | core/ |
Defines a class for reacting to entity events related to Inline Blocks. | 1 | |||
InlineBlockUsage | class | Drupal\layout_builder | core/ |
Service class to track inline block usage. | 2 | |||
InlineBlockUsageInterface | interface | Drupal\layout_builder | core/ |
Defines an interface for tracking inline block usage. | 1 | 1 | ||
InlineCommentSniff | class | PHP_CodeSniffer\Standards\PEAR\Sniffs\Commenting | vendor/ |
|||||
InlineCommentSniff | class | Drupal\Sniffs\Commenting | vendor/ |
\Drupal\Sniffs\Commenting\InlineCommentSniff. | ||||
InlineCommentSniff | class | PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting | vendor/ |
|||||
InlineControlStructureSniff | class | PHP_CodeSniffer\Standards\Generic\Sniffs\ControlStructures | vendor/ |
1 | 1 | |||
InlineControlStructureSniff | class | Drupal\Sniffs\ControlStructures | vendor/ |
\Drupal\Sniffs\ControlStructures\InlineControlStructureSniff. | ||||
InlineDocCommentDeclarationSniff | class | SlevomatCodingStandard\Sniffs\Commenting | vendor/ |
|||||
InlineFormErrorsHooks | class | Drupal\inline_form_errors\Hook | core/ |
Hook implementations for inline_form_errors. | ||||
InlineFormErrorsServiceProvider | class | Drupal\inline_form_errors | core/ |
Overrides the form_error_handler service to enable inline form errors. | ||||
InlineFragmentRenderer | class | Symfony\Component\HttpKernel\Fragment | vendor/ |
Implements the inline rendering strategy where the Request is rendered by the current HTTP kernel. | ||||
InlineHTML | class | PhpParser\Node\Stmt | vendor/ |
|||||
InlineHTMLSniff | class | PHP_CodeSniffer\Standards\Generic\Sniffs\Files | vendor/ |