You are here

RevisionableEntityBundleInterface.php in Entity API 8.0

Same filename and directory in other branches
  1. 8 src/Entity/RevisionableEntityBundleInterface.php

File

src/Entity/RevisionableEntityBundleInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\entity\Entity\RevisionableEntityBundleInterface.
 */
namespace Drupal\entity\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;
interface RevisionableEntityBundleInterface extends ConfigEntityInterface {

  /**
   * Returns whether a new revision should be created by default.
   *
   * @return bool
   *   TRUE if a new revision should be created by default.
   */
  public function shouldCreateNewRevision();

}

Interfaces