public static function DStatic::get in Little helpers 7
Get a stored value.
Parameters
string $name: name of the value to get.
File
- src/
DStatic.php, line 45
Class
- DStatic
- This class deals with request wide variables and flags. It's best to think of it like an object oriented version of drupal_static().
Namespace
Drupal\little_helpersCode
public static function get($name) {
return isset(self::$data[$name]) ? self::$data[$name] : NULL;
}