6 calls to MediaLibraryState::fromRequest() in Drupal 10
- MediaLibrarySelectForm::updateWidget in core/
modules/ media_library/ src/ Plugin/ views/ field/ MediaLibrarySelectForm.php - Submit handler for the media library select form.
- MediaLibraryStateTest::testFromRequest in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Tests the hash validation when the state is created from a request.
- MediaLibraryStateTest::testFromRequestQueryLess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - @covers ::fromRequest
- MediaLibraryUiBuilder::buildUi in core/
modules/ media_library/ src/ MediaLibraryUiBuilder.php - Build the media library UI.
- MediaLibraryUiBuilder::checkAccess in core/
modules/ media_library/ src/ MediaLibraryUiBuilder.php - Check access to the media library.
- media_library_views_post_render in core/
modules/ media_library/ media_library.module - Implements hook_views_post_render().