EntityNeedsSaveInterface.php in Entity Reference Revisions 8
Namespace
Drupal\entity_reference_revisionsFile
src/EntityNeedsSaveInterface.phpView source
<?php
namespace Drupal\entity_reference_revisions;
/**
* Allows an entity to define whether it needs to be saved.
*/
interface EntityNeedsSaveInterface {
/**
* Checks whether the entity needs to be saved.
*
* @return bool
* TRUE if the entity needs to be saved.
*/
public function needsSave();
}
Interfaces
Name | Description |
---|---|
EntityNeedsSaveInterface | Allows an entity to define whether it needs to be saved. |