function BlockContentType::shouldCreateNewRevision
Same name in other branches
- 8.9.x core/modules/block_content/src/Entity/BlockContentType.php \Drupal\block_content\Entity\BlockContentType::shouldCreateNewRevision()
- 10 core/modules/block_content/src/Entity/BlockContentType.php \Drupal\block_content\Entity\BlockContentType::shouldCreateNewRevision()
- 11.x core/modules/block_content/src/Entity/BlockContentType.php \Drupal\block_content\Entity\BlockContentType::shouldCreateNewRevision()
Overrides RevisionableEntityBundleInterface::shouldCreateNewRevision
File
-
core/
modules/ block_content/ src/ Entity/ BlockContentType.php, line 95
Class
- BlockContentType
- Defines the custom block type entity.
Namespace
Drupal\block_content\EntityCode
public function shouldCreateNewRevision() {
return $this->revision;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.