function StorableConfigBase::isNew

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::isNew()
  2. 8.9.x core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::isNew()
  3. 10 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::isNew()

Returns whether this configuration object is new.

Return value

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

File

core/lib/Drupal/Core/Config/StorableConfigBase.php, line 111

Class

StorableConfigBase
Provides a base class for configuration objects with storage support.

Namespace

Drupal\Core\Config

Code

public function isNew() {
    return $this->isNew;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.