public function RevisionableInterface::isNewRevision
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\EntityCode
public function isNewRevision();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!RevisionableInterface.php/function/RevisionableInterface::isNewRevision/8.1.x