W3cubDocs

/Drupal 8

public function StorableConfigBase::isNew

public 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 107

Class

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

Namespace

Drupal\Core\Config

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorableConfigBase.php/function/StorableConfigBase::isNew/8.1.x