function StorableConfigBase::isNew

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::isNew()
  2. 10 core/lib/Drupal/Core/Config/StorableConfigBase.php \Drupal\Core\Config\StorableConfigBase::isNew()
  3. 11.x 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 109

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.