ImportSourceCoreApi: provide a default key name

This commit is contained in:
Thomas Gelf 2015-12-15 14:47:09 +01:00
parent 1f119adaa3
commit 4755563e53
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ class ImportSourceCoreApi extends ImportSourceHook
return array_keys((array) $res[0]);
}
public static function getDefaultKeyColumnName()
{
return 'object_name';
}
public static function addSettingsFormFields(QuickForm $form)
{
$form->addElement('select', 'object_type', array(