comparison core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }