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 |
|---|---|---|---|---|---|---|---|---|
| Editor | class | Drupal\editor\Annotation | core/ |
Defines an Editor annotation object. | ||||
| EditorAccessControlHandler | class | Drupal\editor | core/ |
Defines the access control handler for the text editor entity type. | 1 | |||
| EditorAdminTest | class | Drupal\Tests\editor\FunctionalJavascript | core/ |
Tests Editor Admin. | ||||
| EditorAdminTest | class | Drupal\Tests\editor\Functional | core/ |
Tests administration of text editors. | ||||
| EditorBase | abstract class | Drupal\editor\Plugin | core/ |
Defines a base class from which other modules providing editors may extend. | 3 | 3 | ||
| EditorConfigEntityUnitTest | class | Drupal\Tests\editor\Unit | core/ |
Tests Drupal\editor\Entity\Editor. | ||||
| EditorConfigTranslationSubscriber | class | Drupal\editor\EventSubscriber | core/ |
Adds configuration names to configuration mapper on POPULATE_MAPPER event. | 2 | |||
| EditorController | class | Drupal\editor | core/ |
Returns responses for Editor module routes. | ||||
| EditorDialogSave | class | Drupal\editor\Ajax | core/ |
Provides an AJAX command for saving the contents of an editor dialog. | 1 | |||
| EditorFileReference | class | Drupal\editor\Plugin\Filter | core/ |
Provides a filter to track images uploaded via a Text Editor. | ||||
| EditorFileReferenceFilterTest | class | Drupal\Tests\editor\Kernel | core/ |
Tests Editor module's file reference filter. | ||||
| EditorFileUsageTest | class | Drupal\Tests\editor\Kernel | core/ |
Tests tracking of file usage by the Text Editor module. | ||||
| EditorFilterIntegrationTest | class | Drupal\Tests\editor\Kernel | core/ |
Tests integration with filter module. | ||||
| EditorHooks | class | Drupal\editor\Hook | core/ |
Hook implementations for editor. | 1 | |||
| EditorialContentEntityBase | abstract class | Drupal\Core\Entity | core/ |
Provides a base entity class with extended revision and publishing support. | 5 | 5 | ||
| EditorImageUploadSettings | class | Drupal\editor | core/ |
Subform helper to configure the text editor's image upload settings. | 3 | |||
| EditorInterface | interface | Drupal\editor | core/ |
Provides an interface defining a text editor entity. | 1 | 34 | ||
| EditorJsonAnonTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Json Anon. | ||||
| EditorJsonBasicAuthTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Json Basic Auth. | ||||
| EditorJsonCookieTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Json Cookie. | ||||
| EditorLoadingTest | class | Drupal\Tests\editor\Functional | core/ |
Tests loading of text editors. | ||||
| EditorManager | class | Drupal\editor\Plugin | core/ |
Configurable text editor manager. | 1 | 2 | ||
| EditorManagerTest | class | Drupal\Tests\editor\Kernel | core/ |
Tests detection of text editors and correct generation of attachments. | ||||
| EditorPluginInterface | interface | Drupal\editor\Plugin | core/ |
Defines an interface for configurable text editors. | 1 | 1 | ||
| EditorPrivateFileReferenceFilterTest | class | Drupal\Tests\editor\Functional | core/ |
Tests Editor module's file reference filter with private files. | ||||
| EditorResourceTestBase | abstract class | Drupal\Tests\editor\Functional\Rest | core/ |
Resource test base for Editor entity. | 6 | |||
| EditorSecurityTest | class | Drupal\Tests\editor\Functional | core/ |
Tests XSS protection for content creators when using text editors. | ||||
| EditorTest | class | Drupal\Tests\jsonapi\Functional | core/ |
JSON:API integration test for the "Editor" config entity type. | ||||
| EditorTestHooks | class | Drupal\editor_test\Hook | core/ |
Hook implementations for editor_test. | ||||
| EditorTestTextLongItem | class | Drupal\editor_test\Plugin\Field\FieldType | core/ |
Plugin implementation of the 'editor_test_text_long' field type. | ||||
| EditorValidationTest | class | Drupal\Tests\editor\Kernel | core/ |
Tests validation of editor entities. | ||||
| EditorXmlAnonTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Xml Anon. | ||||
| EditorXmlBasicAuthTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Xml Basic Auth. | ||||
| EditorXmlCookieTest | class | Drupal\Tests\editor\Functional\Rest | core/ |
Tests Editor Xml Cookie. | ||||
| EditorXssFilterInterface | interface | Drupal\editor | core/ |
Defines an interface for text editor XSS (Cross-site scripting) filters. | 2 | 2 | ||
| Element | abstract class | Drupal\Core\Config\Schema | core/ |
Defines a generic configuration element. | 3 | |||
| Element | class | Drupal\editor | core/ |
Defines a service for Text Editor's render elements. | 2 | |||
| Element | class | Drupal\Core\Render | core/ |
Provides helper methods for Drupal render elements. | 125 | |||
| ElementInfoIntegrationTest | class | Drupal\KernelTests\Core\Render | core/ |
Tests the element info. | ||||
| ElementInfoManager | class | Drupal\Core\Render | core/ |
Provides a plugin manager for element plugins. | 1 | 1 | 2 | |
| ElementInfoManagerInterface | interface | Drupal\Core\Render | core/ |
Collects available render array element types. | 1 | 18 | ||
| ElementInfoManagerTest | class | Drupal\Tests\Core\Render | core/ |
Tests Drupal\Core\Render\ElementInfoManager. | ||||
| ElementInfoTestHooks | class | Drupal\element_info_test\Hook | core/ |
Hook implementations for element_info_test. | ||||
| ElementInfoTestNumberBuilder | class | Drupal\element_info_test | core/ |
Provides a trusted callback to alter the element_info_test number element. | 2 | |||
| ElementInterface | interface | Drupal\Core\Render\Element | core/ |
Provides an interface for render element plugins. | 2 | 1 | ||
| ElementInterface | interface | Drupal\config_translation\FormElement | core/ |
Provides an interface for configuration translation form elements. | 2 | |||
| ElementsAccessTest | class | Drupal\Tests\system\Functional\Form | core/ |
Tests access control for form elements. | ||||
| ElementsContainerTest | class | Drupal\Tests\system\Functional\Form | core/ |
Tests the container form element for expected behavior. | ||||
| ElementsContainerTest | class | Drupal\Tests\system\Kernel\Form | core/ |
Tests the container form element for expected behavior. | ||||
| ElementsFieldsetTest | class | Drupal\Tests\system\Kernel\Form | core/ |
Tests fieldset element rendering and description placement. |
Pagination
- Previous page
- Page 57
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.