Classes, traits, and interfaces - 8.9.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 1511
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
MediaJsonAnonTest | class | Drupal\Tests\media\Functional\Rest | core/ |
@group rest | ||||
MediaJsonBasicAuthTest | class | Drupal\Tests\media\Functional\Rest | core/ |
@group rest | ||||
MediaJsonCookieTest | class | Drupal\Tests\media\Functional\Rest | core/ |
@group rest | ||||
MediaKernelTestBase | abstract class | Drupal\Tests\media\Kernel | core/ |
Base class for Media kernel tests. | 9 | |||
MediaLibraryAccessTest | class | Drupal\Tests\media_library\Kernel | core/ |
Tests the media library access. | ||||
MediaLibraryAddFormTest | class | Drupal\Tests\media_library\Kernel | core/ |
Tests the media library add form. | ||||
MediaLibraryDisplayModeTest | class | Drupal\Tests\media_library\Functional | core/ |
Tests that the Media Library automatically configures form/view modes. | ||||
MediaLibraryEditorOpener | class | Drupal\media_library | core/ |
The media library opener for text editors. | 2 | |||
MediaLibraryFieldWidgetOpener | class | Drupal\media_library | core/ |
The media library opener for field widgets. | 2 | |||
MediaLibraryInceptionWidget | class | Drupal\media_library_test_widget\Plugin\Field\FieldWidget | core/ |
Plugin implementation of the 'media_library_inception_widget' widget. | ||||
MediaLibraryOpenerInterface | interface | Drupal\media_library | core/ |
Defines an interface for media library openers. | 2 | |||
MediaLibrarySelectForm | class | Drupal\media_library\Plugin\views\field | core/ |
Defines a field that outputs a checkbox and form for selecting media. | ||||
MediaLibrarySetAdministrativePageToTableDisplayTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests update to set 'media' view's table display as the administrative page. | ||||
MediaLibraryState | class | Drupal\media_library | core/ |
A value object for the media library state. | 8 | |||
MediaLibraryStateTest | class | Drupal\Tests\media_library\Kernel | core/ |
Tests the media library state value object. | ||||
MediaLibraryTestBase | abstract class | Drupal\Tests\media_library\FunctionalJavascript | core/ |
Base class for functional tests of Media Library functionality. | 10 | |||
MediaLibraryUiBuilder | class | Drupal\media_library | core/ |
Service which builds the media library. | 5 | 2 | ||
MediaLibraryUpdate8704Test | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests update path to create the media_library.settings config object. | ||||
MediaLibraryUpdateCheckboxClassesTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates views checkbox classes. | ||||
MediaLibraryUpdateFormAndViewDisplaysTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for form and view displays. | ||||
MediaLibraryUpdateViewLangcodeFiltersTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for the langcode filters. | ||||
MediaLibraryUpdateViewPageDisplayEditDeleteLinkTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for the view page display links. | ||||
MediaLibraryUpdateViewStatusExtraFilterTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for the view page display links. | ||||
MediaLibraryUpdateViewTableDisplayTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for the view table display. | ||||
MediaLibraryUpdateWidgetViewTest | class | Drupal\Tests\media_library\Functional\Update | core/ |
Tests the media library module updates for the widget view. | ||||
MediaLibraryWidget | class | Drupal\media_library\Plugin\Field\FieldWidget | core/ |
Plugin implementation of the 'media_library_widget' widget. | 1 | 1 | ||
MediaLibraryWidgetTest | class | Drupal\Tests\media_library\Kernel | core/ |
Tests the media library widget. | ||||
MediaLinkRelationsTest | class | Drupal\Tests\media\Kernel | core/ |
Tests link relationships for media items. | ||||
MediaListBuilder | class | Drupal\media | core/ |
Provides a listing of media items. | ||||
MediaOverviewPageTest | class | Drupal\Tests\media\Functional | core/ |
Tests the Media overview page. | ||||
MediaOverviewTest | class | Drupal\Tests\media_library\FunctionalJavascript | core/ |
Tests the grid-style media overview page. | ||||
MediaPermissions | class | Drupal\media | core/ |
Provides dynamic permissions for each media type. | ||||
MediaReferenceFieldHelpTest | class | Drupal\Tests\media\FunctionalJavascript | core/ |
Tests related to media reference fields. | ||||
MediaResourceTestBase | abstract class | Drupal\Tests\media\Functional\Rest | core/ |
8 | 2 | |||
MediaResourceTestBase | in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\media\Functional\Rest\MediaResourceTestBase instead. |
abstract class | Drupal\Tests\rest\Functional\EntityResource\Media | core/ |
||||
MediaRevision | class | Drupal\media\Plugin\views\wizard | core/ |
Provides Views creation wizard for Media revisions. | ||||
MediaRevisionAccessCheck | class | Drupal\media\Access | core/ |
Provides an access checker for media item revisions. | 1 | 2 | ||
MediaRevisionTest | class | Drupal\Tests\media\Functional | core/ |
Tests the revisionability of media entities. | ||||
MediaRouteProvider | class | Drupal\media\Routing | core/ |
Provides HTML routes for media pages. | ||||
MediaSelection | class | Drupal\media\Plugin\EntityReferenceSelection | core/ |
Provides specific access control for the media entity type. | ||||
MediaSettingsForm | class | Drupal\media\Form | core/ |
Provides a form to configure Media settings. | 1 | |||
MediaSettingsTest | class | Drupal\Tests\media\Functional | core/ |
Testing the media settings. | ||||
MediaSource | class | Drupal\media\Annotation | core/ |
Defines a media source plugin annotation object. | 1 | |||
MediaSourceAudioVideoTest | class | Drupal\Tests\media\FunctionalJavascript | core/ |
Tests the Audio and Video media sources. | ||||
MediaSourceBase | abstract class | Drupal\media | core/ |
Base implementation of media source plugin. | 3 | 3 | ||
MediaSourceEntityConstraintsInterface | interface | Drupal\media | core/ |
Defines an interface for a media source with entity constraints. | 1 | 2 | ||
MediaSourceFieldConstraintsInterface | interface | Drupal\media | core/ |
Defines an interface for a media source with source field constraints. | 2 | 3 | ||
MediaSourceFileTest | class | Drupal\Tests\media\FunctionalJavascript | core/ |
Tests the file media source. | ||||
MediaSourceFileTest | class | Drupal\Tests\media\Kernel | core/ |
Tests the file media source. | ||||
MediaSourceFileTest | class | Drupal\Tests\media\Functional | core/ |
Tests the file media source. |
Pagination
- Previous page
- Page 102
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.