You are here

function media_library_form_overwrite_test_media_source_info_alter in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media_library/tests/modules/media_library_form_overwrite_test/media_library_form_overwrite_test.module \media_library_form_overwrite_test_media_source_info_alter()

File

core/modules/media_library/tests/modules/media_library_form_overwrite_test/media_library_form_overwrite_test.module, line 10
Contains.

Code

function media_library_form_overwrite_test_media_source_info_alter(array &$sources) {
  $sources['image']['forms']['media_library_add'] = TestAddForm::class;
}