public function BlockContentTypeInterface::shouldCreateNewRevision in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/block_content/src/BlockContentTypeInterface.php \Drupal\block_content\BlockContentTypeInterface::shouldCreateNewRevision()
Returns whether a new revision should be created by default.
Return value
bool TRUE if a new revision should be created by default.
1 method overrides BlockContentTypeInterface::shouldCreateNewRevision()
- BlockContentType::shouldCreateNewRevision in core/
modules/ block_content/ src/ Entity/ BlockContentType.php - Returns whether a new revision should be created by default.
File
- core/
modules/ block_content/ src/ BlockContentTypeInterface.php, line 31 - Contains \Drupal\block_content\BlockContentTypeInterface.
Class
- BlockContentTypeInterface
- Provides an interface defining a custom block type entity.
Namespace
Drupal\block_contentCode
public function shouldCreateNewRevision();