You are here

function feeds_tamper_new_instance in Feeds Tamper 7

Same name and namespace in other branches
  1. 6 feeds_tamper.inc \feeds_tamper_new_instance()

Create a new plugin instance with default values filled in.

Return value

stdClass A new plugin instance object.

Related topics

2 calls to feeds_tamper_new_instance()
FeedsTamperWebTestHelper::addTamperPlugin in tests/feeds_tamper.test
feeds_tamper_ui_add_plugin_form_submit in feeds_tamper_ui/feeds_tamper_ui.admin.inc
Add plugin form submit handler.

File

./feeds_tamper.inc, line 21
Version agnostic parts of feeds_tamper.module.

Code

function feeds_tamper_new_instance() {
  ctools_include('export');
  return ctools_export_crud_new('feeds_tamper');
}