| 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::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::testOnlyMainPropertiesTriggerSourceFieldChanged |
function |
core/modules/media/tests/src/Functional/MediaSourceImageTest.php |
Test that non-main properties do not trigger source field value change. |
| MediaSourceInterface::createSourceField |
function |
core/modules/media/src/MediaSourceInterface.php |
Creates the source field definition for a type. |
| MediaSourceInterface::getSourceFieldDefinition |
function |
core/modules/media/src/MediaSourceInterface.php |
Get the source field definition for a media type. |
| MediaSourceInterface::getSourceFieldValue |
function |
core/modules/media/src/MediaSourceInterface.php |
Get the primary value stored in the source field. |
| MediaSourceInterface::METADATA_FIELD_EMPTY |
constant |
core/modules/media/src/MediaSourceInterface.php |
Default empty value for metadata fields. |
| MediaSourceTest::testDifferentSourceFieldDisplays |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests different display options for the source field. |
| MediaSourceTest::testGetSourceFieldValue |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests the getSourceFieldValue() method. |
| MediaSourceTest::testHiddenSourceField |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests hidden source field in media type. |
| MediaSourceTest::testSourceFieldCreation |
function |
core/modules/media/tests/src/Kernel/MediaSourceTest.php |
Tests logic related to the automated source field creation. |
| MediaSourceTestBase::createMediaTypeField |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Creates storage and field instance, attached to a given media type. |
| MediaSourceTestBase::createMediaTypeFields |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Create a set of fields in a media type. |
| MediaSourceTestBase::hideMediaTypeFieldWidget |
function |
core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php |
Hides a widget in the default form display config. |
| MediaTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/MediaTest.php |
The fields that are protected against modification during PATCH requests. |
| MediaTest::fillFieldInMetadataDialogAndSubmit |
function |
core/modules/ckeditor/tests/src/FunctionalJavascript/MediaTest.php |
Fills in a field in the metadata dialog for an embedded media item. |
| MediaTest::testNameBaseField |
function |
core/modules/media/tests/src/Kernel/MediaTest.php |
Tests the Media "name" base field behavior. |
| MediaThumbnailFormatterTest::$mediaFieldName |
property |
core/modules/media/tests/src/Kernel/MediaThumbnailFormatterTest.php |
Test media reference field name. |
| MediaThumbnailFormatterTest::changeMediaReferenceFieldLinkType |
function |
core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php |
Helper function to change field display. |
| MediaTranslationTest::testTranslatableFieldSaveLoad |
function |
core/modules/media/tests/src/Kernel/MediaTranslationTest.php |
Tests translatable fields storage/retrieval. |
| MediaType::$field_map |
property |
core/modules/media/src/Entity/MediaType.php |
The metadata field map. |
| MediaType::getFieldMap |
function |
core/modules/media/src/Entity/MediaType.php |
Returns the metadata field map. |
| MediaType::setFieldMap |
function |
core/modules/media/src/Entity/MediaType.php |
Sets the metadata field map. |
| 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. |
| MediaTypeForm::$entityFieldManager |
property |
core/modules/media/src/MediaTypeForm.php |
Entity field manager service. |
| MediaTypeInterface::getFieldMap |
function |
core/modules/media/src/MediaTypeInterface.php |
Returns the metadata field map. |
| MediaTypeInterface::setFieldMap |
function |
core/modules/media/src/MediaTypeInterface.php |
Sets the metadata field map. |
| media_field_ui_preconfigured_options_alter |
function |
core/modules/media/media.module |
Implements hook_field_ui_preconfigured_options_alter(). |
| media_field_widget_complete_form_alter |
function |
core/modules/media/media.module |
Implements hook_field_widget_complete_form_alter(). |
| media_field_widget_single_element_form_alter |
function |
core/modules/media/media.module |
Implements hook_field_widget_single_element_form_alter(). |
| media_form_field_ui_field_storage_add_form_alter |
function |
core/modules/media/media.module |
Implements hook_form_FORM_ID_alter(). |
| media_library.opener.field_widget |
service |
core/modules/media_library/media_library.services.yml |
Drupal\media_library\MediaLibraryFieldWidgetOpener |
| media_library_field_ui_preconfigured_options_alter |
function |
core/modules/media_library/media_library.module |
Implements hook_field_ui_preconfigured_options_alter(). |
| media_library_preprocess_views_view_fields |
function |
core/modules/media_library/media_library.module |
Implements hook_preprocess_views_view_fields(). |
| media_library_test_entity_field_access |
function |
core/modules/media_library/tests/modules/media_library_test/media_library_test.module |
Implements hook_entity_field_access(). |
| media_library_test_field_widget_info_alter |
function |
core/modules/media_library/tests/modules/media_library_test/media_library_test.module |
Implements hook_field_widget_info_alter(). |
| media_post_update_modify_base_field_author_override |
function |
core/modules/media/media.post_update.php |
Updates stale references to Drupal\media\Entity\Media::getCurrentUserId. |
| Menu::fields |
function |
core/modules/system/src/Plugin/migrate/source/Menu.php |
Returns available fields on the source. |
| MenuLink::fields |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php |
Returns available fields on the source. |
| MenuLinkContent::baseFieldDefinitions |
function |
core/modules/menu_link_content/src/Entity/MenuLinkContent.php |
Provides base field definitions for an entity type. |
| MenuLinkContentResourceTestBase::$patchProtectedFieldNames |
property |
core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php |
The fields that are protected against modification during PATCH requests. |
| MenuLinkContentStorageSchema::getSharedTableFieldSchema |
function |
core/modules/menu_link_content/src/MenuLinkContentStorageSchema.php |
Gets the schema for a single field definition. |
| MenuLinkContentTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php |
The fields that are protected against modification during PATCH requests. |
| MenuLinkLocalized::fields |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkLocalized.php |
Returns available fields on the source. |
| MenuLinkTranslation::fields |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d6/MenuLinkTranslation.php |
Returns available fields on the source. |
| MenuLinkTranslation::fields |
function |
core/modules/menu_link_content/src/Plugin/migrate/source/d7/MenuLinkTranslation.php |
Returns available fields on the source. |