Version 1
[yaffs-website] / web / core / lib / Drupal / Core / Entity / RevisionableEntityBundleInterface.php
1 <?php
2
3 namespace Drupal\Core\Entity;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6
7 /**
8  * Provides an interface defining a revisionable entity bundle.
9  */
10 interface RevisionableEntityBundleInterface extends ConfigEntityInterface {
11
12   /**
13    * Gets whether a new revision should be created by default.
14    *
15    * @return bool
16    *   TRUE if a new revision should be created by default.
17    */
18   public function shouldCreateNewRevision();
19
20 }