public function Variable::get in Service Container 7.2
Same name and namespace in other branches
- 7 src/Variable.php \Drupal\service_container\Variable::get()
File
- src/
Variable.php, line 42 - Contains \Drupal\service_container\Variable.
Class
- Variable
- Provides a injectable version of variable_set() / variable_get().
Namespace
Drupal\service_containerCode
public function get($name, $default = NULL) {
return $this->drupal7
->variable_get($name, $default);
}