MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity creation permissions. |
MediaLibraryAccessTest::testFieldWidgetEntityEditAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity-specific access. |
MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess |
function |
core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php |
Tests that the field widget opener respects entity field-level access. |
MediaLibraryFieldWidgetOpener |
class |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
The media library opener for field widgets. |
MediaLibraryFieldWidgetOpener.php |
file |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
|
MediaLibraryFieldWidgetOpener::$entityTypeManager |
property |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
The entity type manager. |
MediaLibraryFieldWidgetOpener::checkAccess |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
Checks media library access. |
MediaLibraryFieldWidgetOpener::getSelectionResponse |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
Generates a response after selecting media items in the media library. |
MediaLibraryFieldWidgetOpener::__construct |
function |
core/modules/media_library/src/MediaLibraryFieldWidgetOpener.php |
MediaLibraryFieldWidgetOpener constructor. |
MediaLibraryTestBase::addMediaFileToField |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Waits for a file field to exist before uploading. |
MediaLibraryTestBase::openMediaLibraryForField |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Clicks a button that opens a media widget and confirms it is open. |
MediaLibraryTestBase::waitForFieldExists |
function |
core/modules/media_library/tests/src/FunctionalJavascript/MediaLibraryTestBase.php |
Checks for the existence of a field on page after wait. |
MediaLibraryWidget::getFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Gets the field state for the widget. |
MediaLibraryWidget::setFieldState |
function |
core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php |
Sets the field state for the widget. |
MediaLibraryWidgetTest::$baseField |
property |
core/modules/media_library/tests/src/Kernel/MediaLibraryWidgetTest.php |
The base field definition. |
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::testMissingSourceFieldDefinition |
function |
core/modules/media/tests/src/Functional/MediaRequirementsTest.php |
Tests that the requirements check can handle a missing source field. |
MediaResourceTestBase::$patchProtectedFieldNames |
property |
core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php |
The fields that are protected against modification during PATCH requests. |
MediaSource::$allowed_field_types |
property |
core/modules/media/src/Annotation/MediaSource.php |
The field types that can be used as a source field for this media source. |
MediaSourceBase::$entityFieldManager |
property |
core/modules/media/src/MediaSourceBase.php |
The entity field manager service. |
MediaSourceBase::$fieldTypeManager |
property |
core/modules/media/src/MediaSourceBase.php |
The field type plugin manager service. |
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::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. |
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. |