Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
module_load_include('inc', 'media', 'includes/media.browser');
media_attach_browser_js($node->content['add_media_link']);
Is needed to ensure browserUrl property is defined. Without, the file add button is not activated.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2615022-1-add_media_link_is_failing.patch | 1.76 KB | EthanT |
Comments
Comment #2
EthanTPatch for this issue.
Comment #3
EthanT