public static function MediaFeedsLibraryProvider::formCallback in Media Feeds 7
Same name and namespace in other branches
- 7.2 includes/MediaFeedsLibraryProvider.inc \MediaFeedsLibraryProvider::formCallback()
File
- includes/
MediaFeedsLibraryProvider.inc, line 51 - Map existing files from the library.
Class
- MediaFeedsLibraryProvider
- Class for mapping values using existing files from the media library.
Code
public static function formCallback($mapping, $target, $form, $form_state) {
return array(
'no_file_extensions' => array(
'#type' => 'checkbox',
'#title' => t('Source has no file extensions'),
'#default_value' => !empty($mapping['no_file_extensions']),
),
);
}