1.20.x 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

includes/config.inc, line 618
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;
}