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 |
---|---|---|---|---|---|---|---|---|
ImageEffect | class | Drupal\image\Attribute | core/ |
Defines an ImageEffect attribute for plugin discovery. | 8 | |||
ImageEffect | class | Drupal\image\Annotation | core/ |
Defines an image effect annotation object. | ||||
ImageEffectAddForm | class | Drupal\image\Form | core/ |
Provides an add form for image effects. | 1 | |||
ImageEffectBase | abstract class | Drupal\image | core/ |
Provides a base class for image effects. | 2 | 1 | ||
ImageEffectDeleteForm | class | Drupal\image\Form | core/ |
Form for deleting an image effect. | 1 | |||
ImageEffectEditForm | class | Drupal\image\Form | core/ |
Provides an edit form for image effects. | 1 | |||
ImageEffectFormBase | abstract class | Drupal\image\Form | core/ |
Provides a base form for image effects. | 2 | |||
ImageEffectInterface | interface | Drupal\image | core/ |
Defines the interface for image effects. | 2 | 1 | 1 | |
ImageEffectManager | class | Drupal\image | core/ |
Manages image effect plugins. | 2 | 2 | ||
ImageEffectPluginCollection | class | Drupal\image | core/ |
A collection of image effects. | 1 | |||
ImageFactory | class | Drupal\Core\Image | core/ |
Provides a factory for image objects. | 8 | |||
ImageField | class | Drupal\image\Plugin\migrate\field\d6 | core/ |
MigrateField Plugin for Drupal 6 image fields. | ||||
ImageField | class | Drupal\image\Plugin\migrate\field\d7 | core/ |
|||||
ImageFormatter | class | Drupal\image\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'image' formatter. | 1 | 1 | ||
ImageFormatterBase | abstract class | Drupal\image\Plugin\Field\FieldFormatter | core/ |
Base class for image file formatters. | 3 | 1 | ||
ImageHooks | class | Drupal\image\Hook | core/ |
Hook implementations for image. | ||||
ImageInterface | interface | Drupal\Core\Image | core/ |
Provides an interface for image objects. | 1 | 8 | ||
ImageItem | class | Drupal\image\Plugin\Field\FieldType | core/ |
Plugin implementation of the 'image' field type. | 5 | |||
ImageResize | class | Drupal\ckeditor5\Plugin\CKEditor5Plugin | core/ |
CKEditor 5 ImageResize plugin. | 1 | |||
ImageStyle | class | Drupal\image\Entity | core/ |
Defines an image style configuration entity. | 6 | |||
ImageStyleAddForm | class | Drupal\image\Form | core/ |
Controller for image style addition forms. | 1 | |||
ImageStyleDeleteForm | class | Drupal\image\Form | core/ |
Creates a form to delete an image style. | 1 | |||
ImageStyleDownloadController | class | Drupal\image\Controller | core/ |
Defines a controller to serve image styles. | 1 | |||
ImageStyleEditForm | class | Drupal\image\Form | core/ |
Controller for image style edit form. | 1 | |||
ImageStyleFlushForm | class | Drupal\image\Form | core/ |
Form controller for image style flush. | 1 | |||
ImageStyleFormBase | abstract class | Drupal\image\Form | core/ |
Base form for image style add and edit forms. | 2 | |||
ImageStyleInterface | interface | Drupal\image | core/ |
Provides an interface defining an image style entity. | 1 | 6 | ||
ImageStyleListBuilder | class | Drupal\image | core/ |
Defines a class to build a listing of image style entities. | 1 | |||
ImageStyleMappings | class | Drupal\responsive_image\Plugin\migrate\process | core/ |
Transforms image style mappings. | ||||
ImageStyleRoutes | class | Drupal\image\Routing | core/ |
Defines a route subscriber to register a URL for serving image styles. | ||||
ImageStyles | class | Drupal\image\Plugin\migrate\source\d7 | core/ |
Drupal 7 image styles source from database. | ||||
ImageStyleStorage | class | Drupal\image | core/ |
Storage controller class for "image style" configuration entities. | 1 | |||
ImageStyleStorageInterface | interface | Drupal\image | core/ |
Interface for storage controller for "image style" configuration entities. | 1 | 1 | ||
ImageToolkit | class | Drupal\Core\ImageToolkit\Annotation | core/ |
Defines a Plugin annotation object for the image toolkit plugin. | ||||
ImageToolkit | class | Drupal\Core\ImageToolkit\Attribute | core/ |
Defines a Plugin attribute for the image toolkit plugin. | 2 | |||
ImageToolkitBase | abstract class | Drupal\Core\ImageToolkit | core/ |
Provides a base class for image toolkit plugins. | 1 | 1 | ||
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 | 1 | 1 | |
ImageToolkitManager | class | Drupal\Core\ImageToolkit | core/ |
Manages image toolkit plugins. | 2 | |||
ImageToolkitOperation | class | Drupal\Core\ImageToolkit\Annotation | core/ |
Defines a Plugin annotation object for the image toolkit operation plugin. | ||||
ImageToolkitOperation | class | Drupal\Core\ImageToolkit\Attribute | core/ |
Defines a Plugin attribute for the image toolkit plugin. | 9 | |||
ImageToolkitOperationBase | abstract class | Drupal\Core\ImageToolkit | core/ |
Provides a base class for image toolkit operation plugins. | 1 | 1 | ||
ImageToolkitOperationInterface | interface | Drupal\Core\ImageToolkit | core/ |
Defines an interface for image toolkit operations. | 1 | |||
ImageToolkitOperationManager | class | Drupal\Core\ImageToolkit | core/ |
Manages toolkit operation plugins. | ||||
ImageToolkitOperationManagerInterface | interface | Drupal\Core\ImageToolkit | core/ |
Defines an interface for image toolkit operation managers. | 1 | 1 | ||
ImageUrlFormatter | class | Drupal\image\Plugin\Field\FieldFormatter | core/ |
Plugin implementation of the 'image_url' formatter. | ||||
ImageValidator | class | Symfony\Component\Validator\Constraints | vendor/ |
Validates whether a value is a valid image file and is valid against minWidth, maxWidth, minHeight and maxHeight constraints. | ||||
ImageViewsHooks | class | Drupal\image\Hook | core/ |
Hook implementations for image. | ||||
ImageWidget | class | Drupal\image\Plugin\Field\FieldWidget | core/ |
Plugin implementation of the 'image_image' widget. | ||||
ImagineCaster | final class | Symfony\Component\VarDumper\Caster | vendor/ |
@author Grégoire Pineau <lyrixx@lyrixx.info> |