X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fentity%2Fsrc%2FEntity%2FRevisionableEntityBundleInterface.php;fp=web%2Fmodules%2Fcontrib%2Fentity%2Fsrc%2FEntity%2FRevisionableEntityBundleInterface.php;h=18d392a06f5d131e96457e28e20695fe6ac306a4;hp=6e543b17d69332de69f9a3c3e5f09d10034e6607;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/entity/src/Entity/RevisionableEntityBundleInterface.php b/web/modules/contrib/entity/src/Entity/RevisionableEntityBundleInterface.php index 6e543b17d..18d392a06 100644 --- a/web/modules/contrib/entity/src/Entity/RevisionableEntityBundleInterface.php +++ b/web/modules/contrib/entity/src/Entity/RevisionableEntityBundleInterface.php @@ -2,16 +2,13 @@ namespace Drupal\entity\Entity; -use Drupal\Core\Config\Entity\ConfigEntityInterface; +use Drupal\Core\Entity\RevisionableEntityBundleInterface as CoreRevisionableEntityBundleInterface; -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(); +@trigger_error('\Drupal\entity\Entity\RevisionableEntityBundleInterface has been deprecated in favor of \Drupal\Core\Entity\RevisionableEntityBundleInterface. Use that instead.'); +/** + * @deprecated in favor of + * \Drupal\Core\Entity\RevisionableEntityBundleInterface. Use that instead. + */ +interface RevisionableEntityBundleInterface extends CoreRevisionableEntityBundleInterface { }