You are here

public function EntityTypeInterface::showRevisionUi in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::showRevisionUi()

Indicates whether the revision form fields should be added to the form.

Return value

bool TRUE if the form field should be added, FALSE otherwise.

1 method overrides EntityTypeInterface::showRevisionUi()
EntityType::showRevisionUi in core/lib/Drupal/Core/Entity/EntityType.php
Indicates whether the revision form fields should be added to the form.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 556

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function showRevisionUi();