function media_vimeo_variable_set in Media: Vimeo 7
Same name and namespace in other branches
- 6 includes/media_vimeo.variables.inc \media_vimeo_variable_set()
Wrapper for variable_set() using the Media: Vimeo variable registry.
Parameters
string $name: The variable name to set. Note that it will be namespaced by pre-pending MEDIA_VIMEO_NAMESPACE, as to avoid variable collisions with other modules.
unknown $value: The value for which to set the variable.
Return value
unknown Returns the stored variable after setting.
See also
media_vimeo_variable_default()
File
- includes/
media_vimeo.variables.inc, line 63 - media_vimeo/includes/media_vimeo.variables.inc Variable defaults for Media: Vimeo.
Code
function media_vimeo_variable_set($name, $value) {
$variable_name = MEDIA_VIMEO_NAMESPACE . $name;
return variable_set($variable_name, $value);
}