Search for isNew

  1. Search 7.x for isNew
  2. Search 9.5.x for isNew
  3. Search 8.9.x for isNew
  4. Search 10.3.x for isNew
  5. Other projects
Title Object type File name Summary
ConfigEntityBase::isNew function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Overrides EntityBase::isNew().
ConfigEntityBaseUnitTest::testIsNew function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::isNew
ConfigTest::testIsNew function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::isNew
ContentEntityBase::isNewRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::isNewTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBaseUnitTest::testIsNewRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isNewRevision
@covers ::setNewRevision
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new entity is not shared.
EntityBase::$enforceIsNew property core/lib/Drupal/Core/Entity/EntityBase.php Boolean indicating whether the entity should be forced to be new.
EntityBase::enforceIsNew function core/lib/Drupal/Core/Entity/EntityBase.php Enforces an entity to be new.
EntityBase::isNew function core/lib/Drupal/Core/Entity/EntityBase.php Determines whether the entity is new.
EntityInterface::enforceIsNew function core/lib/Drupal/Core/Entity/EntityInterface.php Enforces an entity to be new.
EntityInterface::isNew function core/lib/Drupal/Core/Entity/EntityInterface.php Determines whether the entity is new.
EntityUnitTest::testIsNew function core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @covers ::isNew
@covers ::enforceIsNew
InlineBlock::$isNew property core/modules/layout_builder/src/Plugin/Block/InlineBlock.php Whether a new block is being created.
RevisionableInterface::isNewRevision function core/lib/Drupal/Core/Entity/RevisionableInterface.php Determines whether a new revision should be created on save.
SourceString::isNew function core/modules/locale/src/SourceString.php Checks whether the object is not saved to storage yet.
StorableConfigBase::$isNew property core/lib/Drupal/Core/Config/StorableConfigBase.php Whether the configuration object is new or has been saved to the storage.
StorableConfigBase::isNew function core/lib/Drupal/Core/Config/StorableConfigBase.php Returns whether this configuration object is new.
StringInterface::isNew function core/modules/locale/src/StringInterface.php Checks whether the object is not saved to storage yet.
StubRevisionableEntity::isNewRevision function core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php Determines whether a new revision should be created on save.
TranslatableInterface::isNewTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Checks whether the translation is new.
TranslationString::$isNew property core/modules/locale/src/TranslationString.php Boolean indicating whether the string object is new.
TranslationString::isNew function core/modules/locale/src/TranslationString.php Checks whether the object is not saved to storage yet.
User::isNew function core/modules/user/src/Entity/User.php Determines whether the entity is new.
ViewUI::enforceIsNew function core/modules/views_ui/src/ViewUI.php Enforces an entity to be new.
ViewUI::isNew function core/modules/views_ui/src/ViewUI.php Determines whether the entity is new.

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