1 config.inc public Config::isStatic()

Returns whether this config object is statically cached in memory.

When a configuration is read from disk, the internal "_config_static" flag is read to determine if the contents of that configuration should be cached in memory for the duration of the request.

Return value

bool: TRUE if this configuration object is cached in memory.

See also

config()

Config::setStatic()

File

core/includes/config.inc, line 653
This is the API for configuration storage.

Class

Config
Defines the default configuration object.

Code

public function isStatic() {
  return (bool) $this->get('_config_static');
}