function StubEntityStorageBase::doSave

Overrides EntityStorageBase::doSave

File

core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php, line 47

Class

StubEntityStorageBase
A stub base entity storage for testing purposes.

Namespace

Drupal\Tests\Core\Entity

Code

protected function doSave($id, EntityInterface $entity) : bool {
    return FALSE;
}

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