You are here

public function UpdateUtilsInterface::getRevisionDefault in Scheduled Updates 8

Get whether a new revision should be created by default for this entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity_to_update:

Return value

bool

1 method overrides UpdateUtilsInterface::getRevisionDefault()
UpdateUtils::getRevisionDefault in src/UpdateUtils.php
Get whether a new revision should be created by default for this entity.

File

src/UpdateUtilsInterface.php, line 67

Class

UpdateUtilsInterface
Service to determine information about Scheduled Update Types

Namespace

Drupal\scheduled_updates

Code

public function getRevisionDefault(ContentEntityInterface $entity_to_update);