You are here

function MailhandlerCommandsFiles::getMappingSources in Mailhandler 6.2

Same name and namespace in other branches
  1. 7.2 plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php \MailhandlerCommandsFiles::getMappingSources()

Return mapping sources in the same manner as a Feeds Parser.

Return value

Array containing mapping sources in standard Feeds Parser format.

Overrides MailhandlerCommands::getMappingSources

File

plugins/mailhandler/commands/MailhandlerCommandsFiles.class.php, line 31
MailhandlerCommandsFiles class.

Class

MailhandlerCommandsFiles
@file MailhandlerCommandsFiles class.

Code

function getMappingSources($config) {
  $sources = array();
  $sources['attachments'] = array(
    'title' => t('Attachments'),
    'description' => t('Files attached to message.'),
  );
  return $sources;
}