public function ContentEntityNullStorage::save in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::save()
- 9 core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php \Drupal\Core\Entity\ContentEntityNullStorage::save()
Saves the entity permanently.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to save.
Return value
SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.
Throws
\Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown.
Overrides EntityStorageBase::save
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityNullStorage.php, line 76
Class
- ContentEntityNullStorage
- Defines a null entity storage.
Namespace
Drupal\Core\EntityCode
public function save(EntityInterface $entity) {
}