9 calls to EntityBase::isNew() in Drupal 8
- Comment::preSave in core/
modules/ comment/ src/ Entity/ Comment.php - Acts on an entity before the presave hook is invoked.
- ContentEntityBase::hasTranslationChanges in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Determines if the current translation of the entity has unsaved changes.
- ContentEntityBase::isDefaultRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks if this entity is the default revision.
- ContentEntityBase::onChange in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Reacts to changes to a field.
- ContentEntityBase::wasDefaultRevision in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks whether the entity object was a default revision when it was saved.
- EntityBase::delete in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Deletes an entity permanently.
- EntityBase::getCacheTagsToInvalidate in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Returns the cache tags that should be used to invalidate caches.
- Media::getThumbnailUri in core/
modules/ media/ src/ Entity/ Media.php - Gets the URI for the thumbnail of a media item.
- Media::prepareSave in core/
modules/ media/ src/ Entity/ Media.php - Sets the media entity's field values from the source's metadata.