You are here

function _acquia_purge_state_get in Acquia Purge 7

DEPRECATED: load a state data property.

File

./acquia_purge.deprecated.inc, line 402
Deprecated functions.

Code

function _acquia_purge_state_get($name, $default = NULL) {
  _acquia_purge_deprecated('_acquia_purge_service()->state()->get($name)->get()');
  return _acquia_purge_service()
    ->state()
    ->get($name, $default)
    ->get();
}