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
MediaSourceBase::$label property core/modules/media/src/MediaSourceBase.php Plugin label.
MediaSourceBase::buildConfigurationForm function core/modules/media/src/MediaSourceBase.php Form constructor.
MediaSourceBase::calculateDependencies function core/modules/media/src/MediaSourceBase.php Calculates dependencies for the configured plugin.
MediaSourceBase::create function core/modules/media/src/MediaSourceBase.php Creates an instance of the plugin.
MediaSourceBase::createSourceField function core/modules/media/src/MediaSourceBase.php Creates the source field definition for a type.
MediaSourceBase::createSourceFieldStorage function core/modules/media/src/MediaSourceBase.php Creates the source field storage definition.
MediaSourceBase::defaultConfiguration function core/modules/media/src/MediaSourceBase.php Gets default configuration for this plugin.
MediaSourceBase::getConfiguration function core/modules/media/src/MediaSourceBase.php Gets this plugin's configuration.
MediaSourceBase::getMetadata function core/modules/media/src/MediaSourceBase.php Gets the value for a metadata attribute for a given media item.
MediaSourceBase::getSourceFieldDefinition function core/modules/media/src/MediaSourceBase.php Get the source field definition for a media type.
MediaSourceBase::getSourceFieldName function core/modules/media/src/MediaSourceBase.php Determine the name of the source field.
MediaSourceBase::getSourceFieldOptions function core/modules/media/src/MediaSourceBase.php Get the source field options for the media type form.
MediaSourceBase::getSourceFieldStorage function core/modules/media/src/MediaSourceBase.php Returns the source field storage definition.
MediaSourceBase::getSourceFieldValue function core/modules/media/src/MediaSourceBase.php Get the primary value stored in the source field.
MediaSourceBase::prepareFormDisplay function core/modules/media/src/MediaSourceBase.php Prepares the media type fields for this source in the form display.
MediaSourceBase::prepareViewDisplay function core/modules/media/src/MediaSourceBase.php Prepares the media type fields for this source in the view display.
MediaSourceBase::setConfiguration function core/modules/media/src/MediaSourceBase.php Sets the configuration for this plugin instance.
MediaSourceBase::submitConfigurationForm function core/modules/media/src/MediaSourceBase.php Form submission handler.
MediaSourceBase::validateConfigurationForm function core/modules/media/src/MediaSourceBase.php Form validation handler.
MediaSourceBase::__construct function core/modules/media/src/MediaSourceBase.php Constructs a new class instance.
MediaSourceEntityConstraintsInterface interface core/modules/media/src/MediaSourceEntityConstraintsInterface.php Defines an interface for a media source with entity constraints.
MediaSourceEntityConstraintsInterface.php file core/modules/media/src/MediaSourceEntityConstraintsInterface.php
MediaSourceEntityConstraintsInterface::getEntityConstraints function core/modules/media/src/MediaSourceEntityConstraintsInterface.php Gets media source-specific validation constraints for a media item.
MediaSourceFieldConstraintsInterface interface core/modules/media/src/MediaSourceFieldConstraintsInterface.php Defines an interface for a media source with source field constraints.
MediaSourceFieldConstraintsInterface.php file core/modules/media/src/MediaSourceFieldConstraintsInterface.php
MediaSourceFieldConstraintsInterface::getSourceFieldConstraints function core/modules/media/src/MediaSourceFieldConstraintsInterface.php Gets media source-specific validation constraints for a source field.
MediaSourceFileTest class core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest class core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest class core/modules/media/tests/src/Functional/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest.php file core/modules/media/tests/src/Functional/MediaSourceFileTest.php
MediaSourceFileTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php
MediaSourceFileTest.php file core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
MediaSourceFileTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php The theme to install as the default for testing.
MediaSourceFileTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaSourceFileTest.php The theme to install as the default for testing.
MediaSourceFileTest::testFileDeletion function core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests a media file can be deleted.
MediaSourceFileTest::testFileExtensionConstraint function core/modules/media/tests/src/Kernel/MediaSourceFileTest.php Tests the file extension constraint.
MediaSourceFileTest::testMediaFileSource function core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php Tests the file media source.
MediaSourceFileTest::testPreventSourceFieldDeletion function core/modules/media/tests/src/Functional/MediaSourceFileTest.php Ensure source field deletion is not possible.
MediaSourceFileTest::testSourceFieldSettingsEditing function core/modules/media/tests/src/Functional/MediaSourceFileTest.php Tests that it's possible to change the allowed file extensions.
MediaSourceImageTest class core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php Tests the image media source.
MediaSourceImageTest class core/modules/media/tests/src/Functional/MediaSourceImageTest.php Tests the image media source.
MediaSourceImageTest.php file core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php
MediaSourceImageTest.php file core/modules/media/tests/src/Functional/MediaSourceImageTest.php
MediaSourceImageTest::$defaultTheme property core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php The theme to install as the default for testing.
MediaSourceImageTest::$defaultTheme property core/modules/media/tests/src/Functional/MediaSourceImageTest.php The theme to install as the default for testing.
MediaSourceImageTest::assertViewDisplayConfigured function core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php Asserts the proper entity view display components for a media type.
MediaSourceImageTest::testMediaImageSource function core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php Tests the image media source.
MediaSourceImageTest::testOnlyMainPropertiesTriggerSourceFieldChanged function core/modules/media/tests/src/Functional/MediaSourceImageTest.php Test that non-main properties do not trigger source field value change.
MediaSourceInterface interface core/modules/media/src/MediaSourceInterface.php Defines the interface for media source plugins.
MediaSourceInterface.php file core/modules/media/src/MediaSourceInterface.php

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