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
MediaRequirementsTest class core/modules/media/tests/src/Functional/MediaRequirementsTest.php Tests the Media module's requirements checks.
MediaRequirementsTest.php file core/modules/media/tests/src/Functional/MediaRequirementsTest.php
MediaRequirementsTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaRequirementsTest.php The theme to install as the default for testing.
MediaRequirementsTest::$usesSuperUserAccessPolicy property core/modules/media/tests/src/Functional/MediaRequirementsTest.php @todo Remove and fix test to not rely on super user.
MediaRequirementsTest::testMissingSourceFieldDefinition function core/modules/media/tests/src/Functional/MediaRequirementsTest.php Tests that the requirements check can handle a missing source field.
MediaResourceTestBase class core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaResourceTestBase.php file core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaResourceTestBase::$entity property core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaResourceTestBase::$entityTypeId property core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php The tested entity type.
MediaResourceTestBase::$modules property core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Modules to install.
MediaResourceTestBase::$patchProtectedFieldNames property core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php The fields that are protected against modification during PATCH requests.
MediaResourceTestBase::createEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Creates the entity to be tested.
MediaResourceTestBase::getExpectedCacheContexts function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
MediaResourceTestBase::getExpectedNormalizedEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the expected normalization of the entity.
MediaResourceTestBase::getExpectedNormalizedFileEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Gets the expected file entity.
MediaResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Return the expected error message.
MediaResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php The cacheability of unauthorized 'view' entity access.
MediaResourceTestBase::getNormalizedPatchEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the normalized PATCH entity.
MediaResourceTestBase::getNormalizedPostEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the normalized POST entity.
MediaResourceTestBase::setUp function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaResourceTestBase::setUpAuthorization function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Sets up the necessary authorization.
MediaResourceTestBase::testPost function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Tests a POST request for an entity, plus edge cases to ensure good DX.
MediaResourceTestBase::uploadFile function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Tests the 'file_upload' REST resource plugin.
MediaRevision class core/modules/media/src/Plugin/views/wizard/MediaRevision.php Provides Views creation wizard for Media revisions.
MediaRevision.php file core/modules/media/src/Plugin/views/wizard/MediaRevision.php
MediaRevision::$createdColumn property core/modules/media/src/Plugin/views/wizard/MediaRevision.php Set the created column.
MediaRevision::defaultDisplayOptions function core/modules/media/src/Plugin/views/wizard/MediaRevision.php Assembles the default display options for the view.
MediaRevisionTest class core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests the revisions of media entities.
MediaRevisionTest.php file core/modules/media/tests/src/Functional/MediaRevisionTest.php
MediaRevisionTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaRevisionTest.php The theme to install as the default for testing.
MediaRevisionTest::assertRevisionCount function core/modules/media/tests/src/Functional/MediaRevisionTest.php Asserts that an entity has a certain number of revisions.
MediaRevisionTest::createMedia function core/modules/media/tests/src/Functional/MediaRevisionTest.php Creates a media item.
MediaRevisionTest::createMediaRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Creates a new revision for a given media item.
MediaRevisionTest::createMediaWithRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Creates a media with a revision.
MediaRevisionTest::setUp function core/modules/media/tests/src/Functional/MediaRevisionTest.php
MediaRevisionTest::testFileMediaRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests creating revisions of a File media item.
MediaRevisionTest::testImageMediaRevision function core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests creating revisions of an Image media item.
MediaRevisionTest::testRevisionDelete function core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests deleting a revision.
MediaRevisionTest::testRevisionRevert function core/modules/media/tests/src/Functional/MediaRevisionTest.php Tests reverting a revision.
MediaRevisionTest::testRevisions function core/modules/media/tests/src/Functional/MediaRevisionTest.php Checks media revision operations.
MediaRouteProvider class core/modules/media/src/Routing/MediaRouteProvider.php Provides HTML routes for media pages.
MediaRouteProvider.php file core/modules/media/src/Routing/MediaRouteProvider.php
MediaRouteProvider::$config property core/modules/media/src/Routing/MediaRouteProvider.php The media settings config.
MediaRouteProvider::createInstance function core/modules/media/src/Routing/MediaRouteProvider.php Instantiates a new instance of this entity handler.
MediaRouteProvider::getCanonicalRoute function core/modules/media/src/Routing/MediaRouteProvider.php Gets the canonical route.
MediaRouteProvider::__construct function core/modules/media/src/Routing/MediaRouteProvider.php Constructs a new DefaultHtmlRouteProvider.
MediaSelection class core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Provides specific access control for the media entity type.
MediaSelection.php file core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php
MediaSelection::buildEntityQuery function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Builds an EntityQuery to get referenceable entities.
MediaSelection::createNewEntity function core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php Creates a new entity object that can be used as a valid reference.

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