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 10.3.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
MediaOverviewPageTest::testImageAltTextDisplay function core/modules/media/tests/src/Functional/MediaOverviewPageTest.php Tests the display of the alt attribute.
MediaOverviewPageTest::testMediaOverviewPage function core/modules/media/tests/src/Functional/MediaOverviewPageTest.php Tests that the Media overview page (/admin/content/media).
MediaOverviewTest class core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php Tests the grid-style media overview page.
MediaOverviewTest.php file core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php
MediaOverviewTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php The theme to install as the default for testing.
MediaOverviewTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php Modules to install.
MediaOverviewTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php
MediaOverviewTest::testAdministrationPage function core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php Tests that the Media Library's administration page works as expected.
MediaPermissions class core/modules/media/src/MediaPermissions.php Provides dynamic permissions for each media type.
MediaPermissions.php file core/modules/media/src/MediaPermissions.php
MediaPermissions::$entityTypeManager property core/modules/media/src/MediaPermissions.php The entity type manager service.
MediaPermissions::buildPermissions function core/modules/media/src/MediaPermissions.php Returns a list of media permissions for a given media type.
MediaPermissions::create function core/modules/media/src/MediaPermissions.php Instantiates a new instance of this class.
MediaPermissions::mediaTypePermissions function core/modules/media/src/MediaPermissions.php Returns an array of media type permissions.
MediaPermissions::__construct function core/modules/media/src/MediaPermissions.php MediaPermissions constructor.
MediaPreviewTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media
@group ckeditor5
@group #slow
@internal
MediaPreviewTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php
MediaPreviewTest::previewAccessProvider function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Data provider for ::testEmbedPreviewAccess.
MediaPreviewTest::testEmbedPreviewAccess function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Tests preview route access.
MediaPreviewTest::testErrorMessages function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Tests that failed media embed preview requests inform the end user.
MediaPreviewTest::testMediaPointerEvent function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php Ensure media preview isn't clickable.
MediaPreviewTest::testPreviewUsesDefaultThemeAndIsClientCacheable function core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaPreviewTest.php The CKEditor Widget must load a preview generated using the default theme.
MediaReferenceFieldHelpTest class core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php Tests related to media reference fields.
MediaReferenceFieldHelpTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php
MediaReferenceFieldHelpTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php The theme to install as the default for testing.
MediaReferenceFieldHelpTest::$modules property core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php Modules to install.
MediaReferenceFieldHelpTest::testFieldCreationHelpText function core/modules/media/tests/src/FunctionalJavascript/MediaReferenceFieldHelpTest.php Tests our custom help texts when creating a field.
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.

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