1 config.inc public Config::isNew()

Returns whether this configuration object is new.

Return value

bool TRUE if this configuration object does not exist in storage.

File

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

Class

Config
Defines the default configuration object.

Code

public function isNew() {
  if (!$this->isLoaded) {
    $this->load();
  }
  return $this->isNew;
}