You are here

function emapi_variable_del in Embedded Media Field 6.3

Wrapper for variable_del() using the Embedded Media API variable registry.

Parameters

string $name: The variable name to delete. Note that it will be namespaced by pre-pending EMAPI_NAMESPACE, as to avoid variable collisions with other modules.

See also

emapi_variable_get()

emapi_variable_set()

emapi_variable_default()

1 call to emapi_variable_del()
emapi_uninstall in emapi/emapi.install
Implementation of hook_uninstall().

File

emapi/includes/emapi.variables.inc, line 82
Contains the variables and defaults used by Embedded Media API.

Code

function emapi_variable_del($name) {
  $variable_name = EMAPI_NAMESPACE . $name;
  variable_del($variable_name);
}