public RevisionableInterface::isNewRevision()
Determines whether a new revision should be created on save.
Return value
bool TRUE if a new revision should be created.
See also
\Drupal\Core\Entity\EntityInterface::setNewRevision()
File
- core/lib/Drupal/Core/Entity/RevisionableInterface.php, line 18
Class
- RevisionableInterface
- Provides methods for an entity to support revisions.
Namespace
Drupal\Core\Entity
Code
public function isNewRevision();
Please login to continue.