You are here

public static function ConfigEntityRevisionFields::getNewRevisionDefault in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionFields.php \Drupal\config_entity_revisions\ConfigEntityRevisionFields::getNewRevisionDefault()
  2. 1.x src/ConfigEntityRevisionFields.php \Drupal\config_entity_revisions\ConfigEntityRevisionFields::getNewRevisionDefault()

Should new revisions created by default?

Return value

bool No new revision by default.

Overrides ConfigEntityRevisionFieldsInterface::getNewRevisionDefault

1 call to ConfigEntityRevisionFields::getNewRevisionDefault()
ConfigEntityRevisionFields::addRevisionFormFields in src/ConfigEntityRevisionFields.php
Adds the revision form fields to the form.

File

src/ConfigEntityRevisionFields.php, line 12

Class

ConfigEntityRevisionFields

Namespace

Drupal\config_entity_revisions

Code

public static function getNewRevisionDefault() {
  return FALSE;
}