You are here

public static function ConfigEntityRevisionsFormAlterBase::getNewRevisionDefault in Config Entity Revisions 8.2

Do we create a new revision by default? (Generally no for config entities).

Return value

bool Whether the 'New revision' checkbox should default on.

Overrides ConfigEntityRevisionsFormAlterInterface::getNewRevisionDefault

1 call to ConfigEntityRevisionsFormAlterBase::getNewRevisionDefault()
ConfigEntityRevisionsFormAlterBase::formAlter in src/ConfigEntityRevisionsFormAlterBase.php
Common form_alter hook code.

File

src/ConfigEntityRevisionsFormAlterBase.php, line 81

Class

ConfigEntityRevisionsFormAlterBase
Class ConfigEntityRevisionsFormAlterBase.

Namespace

Drupal\config_entity_revisions

Code

public static function getNewRevisionDefault() {
  return FALSE;
}