You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert file can be initiated while using the Form API by specifying the
custom element type convertfile_file
$form['test_conversion'] = array(
'#type' => 'convertfile_file',
'#title' => 'Test file conversion',
'#convertfile_provider' => 'cf_googledrive',
'#convertfile_format' => 'pdf',
'#description' => 'Test out the Form API element type convertfile_file by ' .
'specifying the googledrive provider and pdf format',
);