Classes, traits, and interfaces - main - 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 1529
| Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
|---|---|---|---|---|---|---|---|---|
| IconDefinitionInvalidDataException | class | Drupal\Core\Theme\Icon\Exception | core/ |
Raised when icon data is invalid. | 2 | |||
| IconDefinitionTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\IconDefinition. | ||||
| IconExtractor | class | Drupal\Core\Theme\Icon\Attribute | core/ |
The icon_extractor attribute. | 7 | |||
| IconExtractorBase | abstract class | Drupal\Core\Theme\Icon | core/ |
Base class for icon extractor plugins. | 2 | 1 | ||
| IconExtractorInterface | interface | Drupal\Core\Theme\Icon | core/ |
Interface for icon_extractor plugins. | 2 | |||
| IconExtractorPluginManager | class | Drupal\Core\Theme\Icon | core/ |
IconExtractor plugin manager. | 2 | 2 | ||
| IconExtractorSettingsForm | class | Drupal\Core\Theme\Icon | core/ |
Handle icon extractor settings form conversion from YAML to Drupal Form API. | 1 | |||
| IconExtractorSettingsFormTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\IconExtractorSettingsForm. | ||||
| IconExtractorTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\Attribute\IconExtractor. | ||||
| IconExtractorWithFinder | abstract class | Drupal\Core\Theme\Icon | core/ |
Base class for icon_extractor plugins. | 4 | 4 | ||
| IconExtractorWithFinderInterface | interface | Drupal\Core\Theme\Icon | core/ |
Interface for icon_extractor plugins. | 1 | |||
| IconFinder | class | Drupal\Core\Theme\Icon | core/ |
Icon finder to discover files under specific paths or URLs. | 5 | |||
| IconFinderInterface | interface | Drupal\Core\Theme\Icon | core/ |
Interface for icon finder. | 1 | |||
| IconFinderTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\IconFinder. | ||||
| IconMimeTypes | final class | Drupal\file | core/ |
A utility class for working with MIME types. | 1 | |||
| IconPackConfigErrorException | class | Drupal\Core\Theme\Icon\Exception | core/ |
Raised when we have an icon pack error. | 6 | |||
| IconPackExtractorForm | class | Drupal\Core\Theme\Icon | core/ |
The icon pack extractor form plugin. | 6 | |||
| IconPackExtractorFormTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\IconPackExtractorForm. | ||||
| IconPackManager | class | Drupal\Core\Theme\Icon\Plugin | core/ |
Defines an icon pack plugin manager to deal with icons. | 2 | 2 | ||
| IconPackManagerInterface | interface | Drupal\Core\Theme\Icon\Plugin | core/ |
Interface for icon pack manager. | 1 | 2 | ||
| IconPackManagerKernelTest | class | Drupal\KernelTests\Core\Theme\Icon | core/ |
Tests values are from test module icon_test. | ||||
| IconPackManagerTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Theme\Icon\Plugin\IconPackManager. | ||||
| IconsTwigExtension | final class | Drupal\Core\Template | core/ |
Twig extension for icon. | 1 | |||
| IconsTwigExtensionTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Template\IconsTwigExtension. | ||||
| IconTest | class | Drupal\Tests\Core\Theme\Icon | core/ |
Tests Drupal\Core\Render\Element\Icon. | ||||
| IconTestTrait | trait | Drupal\Tests\Core\Theme\Icon | core/ |
Provides methods to generate icons for tests. | 3 | |||
| IdAuditor | class | Drupal\migrate\Audit | core/ |
Audits migrations that create content entities in the destination system. | 3 | |||
| IdConflictForm | class | Drupal\migrate_drupal_ui\Form | core/ |
Migrate Upgrade Id Conflict form. | 1 | |||
| IdConflictTest | class | Drupal\Tests\migrate_drupal_ui\Functional\d6 | core/ |
Tests Drupal 6 Id Conflict page. | ||||
| IdConflictTest | class | Drupal\Tests\migrate_drupal_ui\Functional\d7 | core/ |
Tests Drupal 7 Id Conflict page. | ||||
| IdMapTableNoDummyTest | class | Drupal\Tests\migrate_drupal\Kernel | core/ |
Test that no dummy migrate_map tables are created. | ||||
| 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. | 5 | 2 | ||
| IFrameUrlHelperTest | class | Drupal\Tests\media\Unit | core/ |
Tests Drupal\media\IFrameUrlHelper. | ||||
| Ignore | class | Drupal\Core\Config\Schema | core/ |
Configuration property to ignore. | 2 | 1 | ||
| IgnoreActiveTrailConstraint | class | Drupal\system\Plugin\Validation\Constraint | core/ |
Constraint on the ignore_active_trail configuration in system menu blocks. | ||||
| IgnoreActiveTrailConstraintValidator | class | Drupal\system\Plugin\Validation\Constraint | core/ |
Validator for the IgnoreActiveTrail constraint. | ||||
| IgnoredWorkspaceHandler | class | Drupal\workspaces\Entity\Handler | core/ |
Defines a handler for entity types that are ignored by workspaces. | 6 | |||
| IHaveRuntimeContexts | class | Drupal\layout_builder_test\ContextProvider | core/ |
Defines a class for a fake context provider. | 2 | |||
| IHaveRuntimeContexts | class | Drupal\layout_builder_test\Plugin\Block | core/ |
Defines a class for a context-aware block. | ||||
| Image | class | Drupal\ckeditor5\Plugin\CKEditor5Plugin | core/ |
CKEditor 5 Image plugin. | 4 | 1 | ||
| Image | class | Drupal\media\Plugin\media\Source | core/ |
Image entity media source. | 3 | |||
| Image | class | Drupal\Core\Image | core/ |
Defines an image object to represent an image file. | 1 | |||
| Image | class | Drupal\Component\Utility | core/ |
Provides helpers to operate on images. | 4 | |||
| ImageAccessTestHiddenHooks | class | Drupal\image_access_test_hidden\Hook | core/ |
Hook implementations for image_access_test_hidden. | ||||
| ImageAdminStylesTest | class | Drupal\Tests\image\FunctionalJavascript | core/ |
Tests creation, deletion, and editing of image styles and effects. | ||||
| ImageAdminStylesTest | class | Drupal\Tests\image\Functional | core/ |
Tests creation, deletion, and editing of image styles and effects. | ||||
| ImageButton | class | Drupal\Core\Render\Element | core/ |
Provides a form element for a submit button with an image. | ||||
| ImageCacheActions | in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. |
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. | 1 |
Pagination
- Previous page
- Page 97
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.