Search for source
- Search 7.x for source
- Search 9.5.x for source
- Search 8.9.x for source
- Search 10.3.x for source
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
MediaSourceImageTest::assertViewDisplayConfigured | function | core/ |
Asserts the proper entity view display components for a media type. |
MediaSourceImageTest::testMediaImageSource | function | core/ |
Tests the image media source. |
MediaSourceImageTest::testOnlyMainPropertiesTriggerSourceFieldChanged | function | core/ |
Test that non-main properties do not trigger source field value change. |
MediaSourceInterface | interface | core/ |
Defines the interface for media source plugins. |
MediaSourceInterface.php | file | core/ |
|
MediaSourceInterface::createSourceField | function | core/ |
Creates the source field definition for a type. |
MediaSourceInterface::getMetadata | function | core/ |
Gets the value for a metadata attribute for a given media item. |
MediaSourceInterface::getMetadataAttributes | function | core/ |
Gets a list of metadata attributes provided by this plugin. |
MediaSourceInterface::getSourceFieldDefinition | function | core/ |
Get the source field definition for a media type. |
MediaSourceInterface::getSourceFieldValue | function | core/ |
Get the primary value stored in the source field. |
MediaSourceInterface::METADATA_FIELD_EMPTY | constant | core/ |
Default empty value for metadata fields. |
MediaSourceInterface::prepareFormDisplay | function | core/ |
Prepares the media type fields for this source in the form display. |
MediaSourceInterface::prepareViewDisplay | function | core/ |
Prepares the media type fields for this source in the view display. |
MediaSourceManager | class | core/ |
Manages media source plugins. |
MediaSourceManager.php | file | core/ |
|
MediaSourceManager::__construct | function | core/ |
Constructs a new MediaSourceManager. |
MediaSourceOEmbedVideoTest | class | core/ |
Tests the oembed:video media source. |
MediaSourceOEmbedVideoTest.php | file | core/ |
|
MediaSourceOEmbedVideoTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
MediaSourceOEmbedVideoTest::$modules | property | core/ |
Modules to install. |
MediaSourceOEmbedVideoTest::initConfig | function | core/ |
Initialize various configurations post-installation. |
MediaSourceOEmbedVideoTest::setUp | function | core/ |
|
MediaSourceOEmbedVideoTest::testMediaOEmbedVideoSource | function | core/ |
Tests the oembed media source. |
MediaSourceOEmbedVideoTest::testOEmbedSecurityWarning | function | core/ |
Tests that a security warning appears if iFrame domain is not set. |
MediaSourceTest | class | core/ |
Tests media source plugins related logic. |
MediaSourceTest.php | file | core/ |
|
MediaSourceTest::$modules | property | core/ |
Modules to install. |
MediaSourceTest::createMediaTypeViaForm | function | core/ |
Creates a media type via form submit. |
MediaSourceTest::testConstraints | function | core/ |
Tests the media item constraints functionality. |
MediaSourceTest::testDefaultName | function | core/ |
Tests default media name functionality. |
MediaSourceTest::testDifferentSourceFieldDisplays | function | core/ |
Tests different display options for the source field. |
MediaSourceTest::testGetSourceFieldValue | function | core/ |
Tests the getSourceFieldValue() method. |
MediaSourceTest::testHiddenSourceField | function | core/ |
Tests hidden source field in media type. |
MediaSourceTest::testMetadataMapping | function | core/ |
Tests metadata mapping functionality. |
MediaSourceTest::testSave | function | core/ |
Tests that metadata is correctly mapped irrespective of how media is saved. |
MediaSourceTest::testSourceConfigurationSubmit | function | core/ |
Tests configuration form submit handler on the base media source plugin. |
MediaSourceTest::testSourceFieldCreation | function | core/ |
Tests logic related to the automated source field creation. |
MediaSourceTest::testThumbnail | function | core/ |
Tests the thumbnail functionality. |
MediaSourceTestBase | class | core/ |
Base class for media source tests. |
MediaSourceTestBase.php | file | core/ |
|
MediaSourceTestBase::createMediaTypeField | function | core/ |
Creates storage and field instance, attached to a given media type. |
MediaSourceTestBase::createMediaTypeFields | function | core/ |
Create a set of fields in a media type. |
MediaSourceTestBase::doTestCreateMediaType | function | core/ |
Tests generic media type creation. |
MediaSourceTestBase::hideMediaTypeFieldWidget | function | core/ |
Hides a widget in the default form display config. |
MediaSourceTestBase::setUp | function | core/ |
|
MediaStandardProfileTest::testMediaSources | function | core/ |
Tests all media sources in one method. |
MediaTest::$resourceTypeIsVersionable | property | core/ |
Whether the tested JSON:API resource is versionable. |
MediaTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
MediaTestBase::assertSourceAttributeSame | function | core/ |
Verifies value of an attribute on the downcast <drupal-media> element. |
MediaType::$source | property | core/ |
The media source ID. |
Pagination
- Previous page
- Page 19
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.