public function Vars::offsetUnset in Variable API 7
Same name and namespace in other branches
- 6.2 vars.module \Vars::offsetUnset()
- 6 vars.module \Vars::offsetUnset()
- 7.2 vars.classes.inc \Vars::offsetUnset()
Implements ArrayAccess::offsetUnset().
File
- ./
vars.module, line 222 - Implement an API to handle persistent variables.
Class
- Vars
- @file Implement an API to handle persistent variables.
Code
public function offsetUnset($offset) {
$this
->deleteVariables(array(
$offset,
));
}