function _media_upload_display_embed_form in D7 Media 6
Display the upload form for the tab
Return value
array Form array containing a textarea
1 call to _media_upload_display_embed_form()
- media_upload_resource_embed_file in media_upload/
media_upload.module - Implementation of registration media_upload_resource_embed_file
File
- media_upload/
media_upload.module, line 180 - This module provides integration for Drupal's upload module with the Media module
Code
function _media_upload_display_embed_form() {
$form['media_upload']['upload'] = array(
'#type' => 'textarea',
'#title' => t('Upload your file'),
);
return $form;
}