Classes, traits, and interfaces - 11.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 1519
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
EntityDisplayModeBaseUnitTest | class | Drupal\Tests\Core\Config\Entity | core/ |
Tests Drupal\Core\Entity\EntityDisplayModeBase. | ||||
EntityDisplayModeController | class | Drupal\field_ui\Controller | core/ |
Provides methods for entity display mode routes. | ||||
EntityDisplayModeDeleteForm | class | Drupal\field_ui\Form | core/ |
Provides the delete form for entity display modes. | ||||
EntityDisplayModeEditForm | class | Drupal\field_ui\Form | core/ |
Provides the edit form for entity display modes. | ||||
EntityDisplayModeFormBase | abstract class | Drupal\field_ui\Form | core/ |
Provides the generic base class for entity display mode forms. | 2 | |||
EntityDisplayModeFormBase | abstract class | Drupal\field_ui\Form | core/ |
Provides the generic base class for entity display mode forms. | 2 | |||
EntityDisplayModeInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for entity types that hold form and view mode settings. | 3 | |||
EntityDisplayModeInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for entity types that hold form and view mode settings. | 3 | |||
EntityDisplayModeListBuilder | class | Drupal\field_ui | core/ |
Defines a class to build a listing of view mode entities. | 1 | |||
EntityDisplayModeListBuilder | class | Drupal\field_ui | core/ |
Defines a class to build a listing of view mode entities. | 1 | |||
EntityDisplayModeTest | class | Drupal\Tests\field_ui\Functional | core/ |
Tests the entity display modes UI. | ||||
EntityDisplayPluginCollection | class | Drupal\Core\Entity | core/ |
A collection of formatters or widgets. | 2 | |||
EntityDisplayPluginCollection | class | Drupal\Core\Entity | core/ |
A collection of formatters or widgets. | 2 | |||
EntityDisplayRebuilder | class | Drupal\field | core/ |
Rebuilds all form and view modes for a passed entity bundle. | 1 | |||
EntityDisplayRebuilder | class | Drupal\field | core/ |
Rebuilds all form and view modes for a passed entity bundle. | 1 | |||
EntityDisplayRepository | class | Drupal\Core\Entity | core/ |
Provides a repository for entity display objects (view modes and form modes). | 1 | 2 | ||
EntityDisplayRepository | class | Drupal\Core\Entity | core/ |
Provides a repository for entity display objects (view modes and form modes). | 1 | 2 | ||
EntityDisplayRepository | class | Drupal\Core\Entity | core/ |
Provides a repository for entity display objects (view modes and form modes). | 1 | 2 | ||
EntityDisplayRepository | class | Drupal\Core\Entity | core/ |
Provides a repository for entity display objects (view modes and form modes). | 1 | 2 | ||
EntityDisplayRepositoryInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for an entity display repository. | 1 | 42 | ||
EntityDisplayRepositoryInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for an entity display repository. | 1 | 42 | ||
EntityDisplayRepositoryInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for an entity display repository. | 1 | 42 | ||
EntityDisplayRepositoryInterface | interface | Drupal\Core\Entity | core/ |
Provides an interface for an entity display repository. | 1 | 42 | ||
EntityDisplayRepositoryTest | class | Drupal\KernelTests\Core\Entity | core/ |
Tests Drupal\Core\Entity\EntityDisplayRepository. | ||||
EntityDisplayTest | class | Drupal\Tests\field_ui\FunctionalJavascript | core/ |
Tests the UI for entity displays. | 1 | 1 | ||
EntityDisplayTest | class | Drupal\Tests\field_ui\FunctionalJavascript | core/ |
Tests the UI for entity displays. | 1 | 1 | ||
EntityDisplayTest | class | Drupal\Tests\field_ui\FunctionalJavascript | core/ |
Tests the UI for entity displays. | 1 | 1 | ||
EntityDisplayTest | class | Drupal\Tests\field_ui\FunctionalJavascript | core/ |
Tests the UI for entity displays. | 1 | 1 | ||
EntityDisplayTest | class | Drupal\Tests\field_ui\Kernel | core/ |
Tests the entity display configuration entities. | ||||
EntityDisplayTest | class | Drupal\Tests\field_ui\Functional | core/ |
Tests the UI for entity displays. | ||||
EntityDisplayWithLayoutInterface | interface | Drupal\field_layout\Display | core/ |
Provides a common interface for entity displays that have layout. | 2 | 7 | ||
EntityDisplayWithLayoutInterface | interface | Drupal\field_layout\Display | core/ |
Provides a common interface for entity displays that have layout. | 2 | 7 | ||
EntityDisplayWithLayoutInterface | interface | Drupal\field_layout\Display | core/ |
Provides a common interface for entity displays that have layout. | 2 | 7 | ||
EntityDisplayWithLayoutInterface | interface | Drupal\field_layout\Display | core/ |
Provides a common interface for entity displays that have layout. | 2 | 7 | ||
EntityDuplicateTest | class | Drupal\KernelTests\Core\Entity | core/ |
Test entity duplication. | ||||
EntityExists | class | Drupal\migrate\Plugin\migrate\process | core/ |
This plugin checks if a given entity exists. | ||||
EntityExistsTest | class | Drupal\Tests\migrate\Kernel\Plugin | core/ |
Tests the EntityExists process plugin. | ||||
EntityField | class | Drupal\views\Plugin\views\field | core/ |
A field that displays entity field data. | 6 | 8 | ||
EntityField | class | Drupal\views\Plugin\views\field | core/ |
A field that displays entity field data. | 6 | 8 | ||
EntityField | class | Drupal\views\Plugin\views\field | core/ |
A field that displays entity field data. | 6 | 8 | ||
EntityField | class | Drupal\views\Plugin\views\field | core/ |
A field that displays entity field data. | 6 | 8 | ||
EntityFieldDefaultValueTest | class | Drupal\KernelTests\Core\Entity | core/ |
Tests default values for entity fields. | ||||
EntityFieldDefinitionTrait | trait | Drupal\migrate | core/ |
The entity field definition trait. | 4 | |||
EntityFieldDefinitionTrait | trait | Drupal\migrate | core/ |
The entity field definition trait. | 4 | |||
EntityFieldInstance | class | Drupal\migrate\Plugin\migrate\destination | core/ |
Provides destination plugin for field_config configuration entities. | ||||
EntityFieldManager | class | Drupal\Core\Entity | core/ |
Manages the discovery of entity fields. | 1 | 4 | 2 | |
EntityFieldManager | class | Drupal\Core\Entity | core/ |
Manages the discovery of entity fields. | 1 | 4 | 2 | |
EntityFieldManager | class | Drupal\Core\Entity | core/ |
Manages the discovery of entity fields. | 1 | 4 | 2 | |
EntityFieldManager | class | Drupal\Core\Entity | core/ |
Manages the discovery of entity fields. | 1 | 4 | 2 | |
EntityFieldManager | class | Drupal\Core\Entity | core/ |
Manages the discovery of entity fields. | 1 | 4 | 2 |
Pagination
- Previous page
- Page 106
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.