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
MediaType::setDescription function core/modules/media/src/Entity/MediaType.php Sets the entity description.
MediaType::setFieldMap function core/modules/media/src/Entity/MediaType.php Sets the metadata field map.
MediaType::setNewRevision function core/modules/media/src/Entity/MediaType.php Sets whether new revisions should be created by default.
MediaType::setQueueThumbnailDownloadsStatus function core/modules/media/src/Entity/MediaType.php Sets a flag to indicate that thumbnails should be downloaded via a queue.
MediaType::shouldCreateNewRevision function core/modules/media/src/Entity/MediaType.php Gets whether a new revision should be created by default.
MediaType::sourcePluginCollection function core/modules/media/src/Entity/MediaType.php Returns media source lazy plugin collection.
MediaType::thumbnailDownloadsAreQueued function core/modules/media/src/Entity/MediaType.php Returns whether thumbnail downloads are queued.
MediaTypeAccessControlHandler class core/modules/media/src/MediaTypeAccessControlHandler.php Defines the access control handler for the "Media Type" entity type.
MediaTypeAccessControlHandler.php file core/modules/media/src/MediaTypeAccessControlHandler.php
MediaTypeAccessControlHandler::$viewLabelOperation property core/modules/media/src/MediaTypeAccessControlHandler.php Allows to grant access to just the labels.
MediaTypeAccessControlHandler::checkAccess function core/modules/media/src/MediaTypeAccessControlHandler.php Performs access checks.
MediaTypeCreationTest class core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php Tests the media type creation.
MediaTypeCreationTest class core/modules/media/tests/src/Functional/MediaTypeCreationTest.php Ensures that media UI works correctly without JavaScript.
MediaTypeCreationTest.php file core/modules/media/tests/src/Functional/MediaTypeCreationTest.php
MediaTypeCreationTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
MediaTypeCreationTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php The theme to install as the default for testing.
MediaTypeCreationTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaTypeCreationTest.php The theme to install as the default for testing.
MediaTypeCreationTest::$modules property core/modules/media/tests/src/Functional/MediaTypeCreationTest.php Modules to install.
MediaTypeCreationTest::providerMediaTypeCreationForm function core/modules/media/tests/src/Functional/MediaTypeCreationTest.php Data provider for testMediaTypeCreationForm().
MediaTypeCreationTest::testMediaTypeCreationForm function core/modules/media/tests/src/Functional/MediaTypeCreationTest.php Tests the media type creation form with only the mandatory options.
MediaTypeCreationTest::testMediaTypeCreationFormWithDefaultField function core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php Tests the media type creation form.
MediaTypeCreationTest::testMediaTypeCreationReuseSourceField function core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php Tests creation of media type, reusing an existing source field.
MediaTypeCreationTest::testSourceChangeOnMediaTypeCreationForm function core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php Tests the source field behavior on the add media type form.
MediaTypeCreationTrait trait core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php Provides methods to create a media type from given values.
MediaTypeCreationTrait.php file core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php
MediaTypeCreationTrait::createMediaType function core/modules/media/tests/src/Traits/MediaTypeCreationTrait.php Create a media type for a source plugin.
MediaTypeDeleteConfirmForm class core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php Provides a form for media type deletion.
MediaTypeDeleteConfirmForm.php file core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php
MediaTypeDeleteConfirmForm::$entityTypeManager property core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php The entity type manager.
MediaTypeDeleteConfirmForm::buildForm function core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php Form constructor.
MediaTypeDeleteConfirmForm::create function core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php Instantiates a new instance of this class.
MediaTypeDeleteConfirmForm::__construct function core/modules/media/src/Form/MediaTypeDeleteConfirmForm.php Constructs a new MediaTypeDeleteConfirm object.
MediaTypeForm class core/modules/media/src/MediaTypeForm.php Form controller for media type forms.
MediaTypeForm.php file core/modules/media/src/MediaTypeForm.php
MediaTypeForm::$entityDisplayRepository property core/modules/media/src/MediaTypeForm.php Entity display repository service.
MediaTypeForm::$entityFieldManager property core/modules/media/src/MediaTypeForm.php Entity field manager service.
MediaTypeForm::$sourceManager property core/modules/media/src/MediaTypeForm.php Media source plugin manager.
MediaTypeForm::actions function core/modules/media/src/MediaTypeForm.php Returns an array of supported actions for the current entity form.
MediaTypeForm::ajaxHandlerData function core/modules/media/src/MediaTypeForm.php Ajax callback triggered by the type provider select element.
MediaTypeForm::create function core/modules/media/src/MediaTypeForm.php Instantiates a new instance of this class.
MediaTypeForm::form function core/modules/media/src/MediaTypeForm.php Gets the actual form array to be built.
MediaTypeForm::getSourceSubFormState function core/modules/media/src/MediaTypeForm.php Gets subform state for the media source configuration subform.
MediaTypeForm::getWorkflowOptions function core/modules/media/src/MediaTypeForm.php Prepares workflow options to be used in the 'checkboxes' form element.
MediaTypeForm::save function core/modules/media/src/MediaTypeForm.php Form submission handler for the 'save' action.
MediaTypeForm::submitForm function core/modules/media/src/MediaTypeForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
MediaTypeForm::validateForm function core/modules/media/src/MediaTypeForm.php Form validation handler.
MediaTypeForm::__construct function core/modules/media/src/MediaTypeForm.php Constructs a new class instance.
MediaTypeInterface interface core/modules/media/src/MediaTypeInterface.php Provides an interface defining a media type entity.
MediaTypeInterface.php file core/modules/media/src/MediaTypeInterface.php
MediaTypeInterface::getFieldMap function core/modules/media/src/MediaTypeInterface.php Returns the metadata field map.

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