You are here

public function EntityNeedsSaveInterface::needsSave in Entity Reference Revisions 8

Checks whether the entity needs to be saved.

Return value

bool TRUE if the entity needs to be saved.

File

src/EntityNeedsSaveInterface.php, line 16

Class

EntityNeedsSaveInterface
Allows an entity to define whether it needs to be saved.

Namespace

Drupal\entity_reference_revisions

Code

public function needsSave();