media_library_form_overwrite_test.module
Same filename in other branches
- 9 core/modules/media_library/tests/modules/media_library_form_overwrite_test/media_library_form_overwrite_test.module
- 8.9.x core/modules/media_library/tests/modules/media_library_form_overwrite_test/media_library_form_overwrite_test.module
- 11.x core/modules/media_library/tests/modules/media_library_form_overwrite_test/media_library_form_overwrite_test.module
Contains.
File
-
core/
modules/ media_library/ tests/ modules/ media_library_form_overwrite_test/ media_library_form_overwrite_test.module
View source
<?php
/**
* @file
* Contains.
*/
use Drupal\media_library_form_overwrite_test\Form\TestAddForm;
function media_library_form_overwrite_test_media_source_info_alter(array &$sources) {
$sources['image']['forms']['media_library_add'] = TestAddForm::class;
}
Functions
Title | Deprecated | Summary |
---|---|---|
media_library_form_overwrite_test_media_source_info_alter |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.