You are here

public static function MediaFeedsLibraryProvider::summaryCallback in Media Feeds 7

Same name and namespace in other branches
  1. 7.2 includes/MediaFeedsLibraryProvider.inc \MediaFeedsLibraryProvider::summaryCallback()

File

includes/MediaFeedsLibraryProvider.inc, line 42
Map existing files from the library.

Class

MediaFeedsLibraryProvider
Class for mapping values using existing files from the media library.

Code

public static function summaryCallback($mapping, $target, $form, $form_state) {
  if (empty($mapping['no_file_extensions'])) {
    return t('Source is <strong>exactly</strong> the filename');
  }
  else {
    return t('Source <strong>doesn\'t have file extensions</strong>');
  }
}