You are here

function feeds_tamper_ui_delete_title in Feeds Tamper 6

Same name and namespace in other branches
  1. 7 feeds_tamper_ui/feeds_tamper_ui.module \feeds_tamper_ui_delete_title()

Delete plugin title callback.

1 string reference to 'feeds_tamper_ui_delete_title'
feeds_tamper_ui_menu in feeds_tamper_ui/feeds_tamper_ui.module
Implementation of hook_menu().

File

feeds_tamper_ui/feeds_tamper_ui.module, line 132
Feeds Tamper UI - Defines the user interface for Feeds Tamper.

Code

function feeds_tamper_ui_delete_title($instance) {
  if ($instance->export_type == EXPORT_IN_DATABASE) {
    return t('Delete plugin: @id', array(
      '@id',
      $instance->id,
    ));
  }
  return t('Revert plugin: @id', array(
    '@id',
    $instance->id,
  ));
}