Classes, traits, and interfaces - 10.3.x - drupal
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 |
---|---|---|---|---|---|---|---|---|
ImageStylesPathAndUrlTest | class | Drupal\Tests\image\Functional | core/ |
Tests the functions for generating paths and URLs for image styles. | ||||
ImageStylesTest | class | Drupal\Tests\image\Kernel\Plugin\migrate\source\d7 | core/ |
Tests the D7 ImageStyles source plugin. | ||||
ImageStyleStorage | class | Drupal\image | core/ |
Storage controller class for "image style" configuration entities. | ||||
ImageStyleStorageInterface | interface | Drupal\image | core/ |
Interface for storage controller for "image style" configuration entities. | 1 | 1 | ||
ImageStyleTest | class | Drupal\Tests\image\Unit | core/ |
@coversDefaultClass \Drupal\image\Entity\ImageStyle[[api-linebreak]] | ||||
ImageStyleTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "ImageStyle" config entity type. | ||||
ImageStyleValidationTest | class | Drupal\Tests\image\Kernel | core/ |
Tests validation of image_style entities. | ||||
ImageStyleXmlAnonTest | class | Drupal\Tests\image\Functional\Rest | core/ |
@group rest | ||||
ImageStyleXmlBasicAuthTest | class | Drupal\Tests\image\Functional\Rest | core/ |
@group rest | ||||
ImageStyleXmlCookieTest | class | Drupal\Tests\image\Functional\Rest | core/ |
@group rest | ||||
ImageTest | class | Drupal\KernelTests\Core\Theme | core/ |
Tests built-in image theme functions. | ||||
ImageTest | class | Drupal\Tests\Core\Image | core/ |
Tests the image class. | ||||
ImageTest | class | Drupal\Tests\Component\Utility | core/ |
@coversDefaultClass \Drupal\Component\Utility\Image[[api-linebreak]] @group Image | ||||
ImageTest | class | Drupal\Tests\ckeditor5\FunctionalJavascript | core/ |
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image[[api-linebreak]] @group ckeditor5 @group #slow @internal | ||||
ImageTestBase | abstract class | Drupal\Tests\ckeditor5\FunctionalJavascript | core/ |
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image[[api-linebreak]] @group ckeditor5 @internal | 2 | |||
ImageThemeFunctionTest | class | Drupal\Tests\image\Kernel | core/ |
Tests image theme functions. | ||||
ImageToolkit | class | Drupal\Core\ImageToolkit\Attribute | core/ |
Defines a Plugin attribute for the image toolkit plugin. | 5 | |||
ImageToolkit | class | Drupal\Core\ImageToolkit\Annotation | core/ |
Defines a Plugin annotation object for the image toolkit plugin. | ||||
ImageToolkitBase | abstract class | Drupal\Core\ImageToolkit | core/ |
Provides a base class for image toolkit plugins. | 2 | 2 | ||
ImageToolkitForm | class | Drupal\system\Form | core/ |
Configures image toolkit settings for this site. | 1 | |||
ImageToolkitInterface | interface | Drupal\Core\ImageToolkit | core/ |
Defines an interface for image toolkits. | 1 | 3 | 1 | |
ImageToolkitManager | class | Drupal\Core\ImageToolkit | core/ |
Manages image toolkit plugins. | 2 | 2 | ||
ImageToolkitOperation | class | Drupal\Core\ImageToolkit\Attribute | core/ |
Defines a Plugin attribute for the image toolkit plugin. | 13 | |||
ImageToolkitOperation | class | Drupal\Core\ImageToolkit\Annotation | core/ |
Defines a Plugin annotation object for the image toolkit operation plugin. | ||||
ImageToolkitOperationBase | abstract class | Drupal\Core\ImageToolkit | core/ |
Provides a base class for image toolkit operation plugins. | 2 | 2 | ||
ImageToolkitOperationInterface | interface | Drupal\Core\ImageToolkit | core/ |
Defines an interface for image toolkit operations. | 1 | |||
ImageToolkitOperationManager | class | Drupal\Core\ImageToolkit | core/ |
Manages toolkit operation plugins. | 2 | |||
ImageToolkitOperationManagerInterface | interface | Drupal\Core\ImageToolkit | core/ |
Defines an interface for image toolkit operation managers. | 1 | 2 | ||
ImageUploadAccessTest | class | Drupal\Tests\ckeditor5\Functional | core/ |
Test image upload access. | ||||
ImageUploadTest | class | Drupal\Tests\ckeditor5\Functional | core/ |
Test image upload. | 1 | |||
ImageUrlFormatter | class | Drupal\image\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'image_url' formatter. | ||||
ImageUrlTest | class | Drupal\Tests\ckeditor5\FunctionalJavascript | core/ |
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image[[api-linebreak]] @group ckeditor5 @group #slow @internal | ||||
ImageViewsDataTest | class | Drupal\Tests\image\Kernel\Views | core/ |
Tests image views data. | ||||
ImageWidget | class | Drupal\image\Plugin\Field\FieldWidget | core/ |
Plugin implementation of the 'image_image' widget. | ||||
ImmutableConfig | class | Drupal\Core\Config | core/ |
Defines the immutable configuration object. | 11 | |||
ImmutableConfigException | class | Drupal\Core\Config | core/ |
Exception throw when an immutable config object is altered. | 1 | |||
ImmutableConfigTest | class | Drupal\Tests\Core\Config | core/ |
@coversDefaultClass \Drupal\Core\Config\ImmutableConfig[[api-linebreak]] @group Config | ||||
ImmutablePropertiesConstraint | class | Drupal\Core\Entity\Plugin\Validation\Constraint | core/ |
Checks if config entity properties have been changed. | ||||
ImmutablePropertiesConstraintValidator | class | Drupal\Core\Entity\Plugin\Validation\Constraint | core/ |
Validates the ImmutableProperties constraint. | ||||
ImmutablePropertiesConstraintValidatorTest | class | Drupal\KernelTests\Core\Entity | core/ |
@group Entity @group Validation | ||||
ImportableEntityStorageInterface | interface | Drupal\Core\Config\Entity | core/ |
Provides an interface for responding to configuration imports. | 1 | 1 | ||
ImportAwareInterface | interface | Drupal\migrate\Event | core/ |
Interface for plugins that react to pre- or post-import events. | 1 | |||
Importer | final class | Drupal\Core\DefaultContent | core/ |
A service for handling import of content. | 2 | |||
ImportException | final class | Drupal\Core\DefaultContent | core/ |
Exception thrown when there is an error importing content. | 2 | |||
ImportForm | class | Drupal\locale\Form | core/ |
Form constructor for the translation import screen. | 1 | |||
ImportStorageTransformer | final class | Drupal\Core\Config | core/ |
The import storage transformer helps to use the configuration management api. | 3 | 2 | ||
ImportStorageTransformerTest | class | Drupal\KernelTests\Core\Config | core/ |
Tests the import storage transformer. | ||||
InaccessibleMenuLink | class | Drupal\Core\Menu | core/ |
A menu link plugin for wrapping another menu link, in sensitive situations. | 1 | |||
InboundPathProcessorInterface | interface | Drupal\Core\PathProcessor | core/ |
Defines an interface for classes that process the inbound path. | 12 | 12 | ||
IncludedData | class | Drupal\jsonapi\JsonApiResource | core/ |
Represents the included member of a JSON:API document. | 1 | 2 |
Pagination
- Previous page
- Page 91
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.