Search for media

  1. Search 7.x for media
  2. Search 9.5.x for media
  3. Search 8.9.x for media
  4. Search 11.x for media
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Media class core/modules/media/src/Entity/Media.php Defines the media entity class.
Media class core/modules/media/src/Plugin/views/wizard/Media.php Provides Views creation wizard for Media.
Media class core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php CKEditor 5 Media plugin.

All search results

Title Object type File name Summary
MediaStandardProfileTest::videoTest function core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php Tests the standard profile configuration for media type 'video'.
MediaStorage class core/modules/media/src/MediaStorage.php Defines the storage handler class for media.
MediaStorage.php file core/modules/media/src/MediaStorage.php
MediaStorage::save function core/modules/media/src/MediaStorage.php Saves the entity permanently.
MediaTemplateSuggestionsTest class core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php Tests media template suggestions.
MediaTemplateSuggestionsTest.php file core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php
MediaTemplateSuggestionsTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php The theme to install as the default for testing.
MediaTemplateSuggestionsTest::$modules property core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php Modules to install.
MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions function core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php Tests template suggestions from media_theme_suggestions_media().
MediaTest class core/modules/jsonapi/tests/src/Functional/MediaTest.php JSON:API integration test for the "Media" content entity type.
MediaTest class core/modules/media/tests/src/Kernel/MediaTest.php Tests Media.
MediaTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media
@group ckeditor5
@group #slow
@internal
MediaTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php
MediaTest.php file core/modules/jsonapi/tests/src/Functional/MediaTest.php
MediaTest.php file core/modules/media/tests/src/Kernel/MediaTest.php
MediaTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/MediaTest.php The theme to install as the default for testing.
MediaTest::$entity property core/modules/jsonapi/tests/src/Functional/MediaTest.php
MediaTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/MediaTest.php The tested entity type.
MediaTest::$modules property core/modules/jsonapi/tests/src/Functional/MediaTest.php Modules to install.
MediaTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/MediaTest.php The fields that are protected against modification during PATCH requests.
MediaTest::$resourceTypeIsVersionable property core/modules/jsonapi/tests/src/Functional/MediaTest.php Whether the tested JSON:API resource is versionable.
MediaTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/MediaTest.php The name of the tested JSON:API resource type.
MediaTest::createEntity function core/modules/jsonapi/tests/src/Functional/MediaTest.php Creates the entity to be tested.
MediaTest::doTestPostIndividual function core/modules/jsonapi/tests/src/Functional/MediaTest.php Tests POSTing an individual resource, plus edge cases to ensure good DX.
MediaTest::doTestRelationshipMutation function core/modules/jsonapi/tests/src/Functional/MediaTest.php @todo Remove this in https://www.drupal.org/node/2824851.
MediaTest::getEditorialPermissions function core/modules/jsonapi/tests/src/Functional/MediaTest.php Gets an array of permissions required to view and update any tested entity.
MediaTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/MediaTest.php Returns the expected JSON:API document for the entity.
MediaTest::getExpectedGetRelationshipDocumentData function core/modules/jsonapi/tests/src/Functional/MediaTest.php Gets the expected document data for the given relationship.
MediaTest::getExpectedUnauthorizedAccessCacheability function core/modules/jsonapi/tests/src/Functional/MediaTest.php Returns the expected cacheability for an unauthorized response.
MediaTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/MediaTest.php Return the expected error message.
MediaTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/MediaTest.php Returns the JSON:API POST document.
MediaTest::providerTestViewMode function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php For testing view modes in different scenarios.
MediaTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/MediaTest.php Sets up the necessary authorization.
MediaTest::setUpRevisionAuthorization function core/modules/jsonapi/tests/src/Functional/MediaTest.php Sets up the necessary authorization for handling revisions.
MediaTest::testAlignment function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests alignment integration.
MediaTest::testAlt function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests the CKEditor 5 media plugin can override image media's alt attribute.
MediaTest::testAltDisabled function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests that the image media source's alt_field being disabled is respected.
MediaTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/MediaTest.php
MediaTest::testConversion function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests that `<drupal-media>` is converted into a block element.
MediaTest::testDrupalMedia function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests the drupal-media tag.
MediaTest::testDrupalMediaStyleInDropdown function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Ensures that Drupal Media Styles can be displayed in a dropdown.
MediaTest::testDrupalMediaStyleWithClass function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests Drupal Media Style with a CSS class.
MediaTest::testEditableCaption function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests caption editing in the CKEditor widget.
MediaTest::testEntity function core/modules/media/tests/src/Kernel/MediaTest.php Tests various aspects of a media item.
MediaTest::testMediaArbitraryHtml function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests that arbitrary attributes are allowed via GHS.
MediaTest::testMediaSplitList function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests adding media to a list does not split the list.
MediaTest::testNameBaseField function core/modules/media/tests/src/Kernel/MediaTest.php Tests the Media "name" base field behavior.
MediaTest::testOnlyDrupalMediaTagProcessed function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests that only <drupal-media> tags are processed.
MediaTest::testPermissions function core/modules/media/tests/src/Kernel/MediaTest.php Tests permissions based on a media type have the correct permissions.
MediaTest::testTranslationAlt function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php Tests the CKEditor 5 media plugin loads the translated alt attribute.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.