interface RevisionableEntityBundleInterface
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php \Drupal\Core\Entity\RevisionableEntityBundleInterface
Provides an interface defining a revisionable entity bundle.
Hierarchy
- interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterface; interface \Drupal\Core\Entity\EntityInterface implements \Drupal\Core\Access\AccessibleInterface, \Drupal\Core\Cache\CacheableDependencyInterface, \Drupal\Core\Cache\RefinableCacheableDependencyInterface; interface \Drupal\Core\Entity\SynchronizableInterface implements \Drupal\Core\Entity\EntityInterface
- interface \Drupal\Core\Config\Entity\ConfigEntityInterface implements \Drupal\Core\Entity\EntityInterface, \Drupal\Core\Config\Entity\ThirdPartySettingsInterface, \Drupal\Core\Entity\SynchronizableInterface
- interface \Drupal\Core\Entity\RevisionableEntityBundleInterface implements \Drupal\Core\Config\Entity\ConfigEntityInterface
- interface \Drupal\Core\Config\Entity\ConfigEntityInterface implements \Drupal\Core\Entity\EntityInterface, \Drupal\Core\Config\Entity\ThirdPartySettingsInterface, \Drupal\Core\Entity\SynchronizableInterface
Expanded class hierarchy of RevisionableEntityBundleInterface
All classes that implement RevisionableEntityBundleInterface
5 files declare their use of RevisionableEntityBundleInterface
- BlockContentTypeInterface.php in core/
modules/ block_content/ src/ BlockContentTypeInterface.php - EntityResource.php in core/
modules/ jsonapi/ src/ Controller/ EntityResource.php - MediaTypeInterface.php in core/
modules/ media/ src/ MediaTypeInterface.php - NodeOperationAccessTest.php in core/
modules/ node/ tests/ src/ Unit/ NodeOperationAccessTest.php - NodeTypeInterface.php in core/
modules/ node/ src/ NodeTypeInterface.php
File
-
core/
lib/ Drupal/ Core/ Entity/ RevisionableEntityBundleInterface.php, line 10
Namespace
Drupal\Core\EntityView source
interface RevisionableEntityBundleInterface extends ConfigEntityInterface {
/**
* Gets whether a new revision should be created by default.
*
* @return bool
* TRUE if a new revision should be created by default.
*/
public function shouldCreateNewRevision();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.