You are here

function scald_context_config_delete in Scald: Media Management made easy 7

Delete a context config.

Parameters

object $config: Context config.

1 call to scald_context_config_delete()
scald_admin_context_confirm_delete_form_submit in includes/scald.admin.inc
Process scald_admin_context_confirm_delete_form form submission.

File

./scald.module, line 2456
The Scald Core, which handles all Scald Registries and dispatch.

Code

function scald_context_config_delete($config) {
  ctools_include('export');
  ctools_export_crud_delete('scald_context_config', $config);
  cache_clear_all('*', 'cache_scald', TRUE);
}