You are here

public function ConfigEntityRevisionsTypeInterface::setPreviewMode in Config Entity Revisions 8

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

Sets the preview mode.

Parameters

int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.

1 method overrides ConfigEntityRevisionsTypeInterface::setPreviewMode()
ConfigEntityRevisionsType::setPreviewMode in src/Entity/ConfigEntityRevisionsType.php
Sets the preview mode.

File

src/ConfigEntityRevisionsTypeInterface.php, line 71

Class

ConfigEntityRevisionsTypeInterface
Provides an interface defining a config_entity_revisions type entity.

Namespace

Drupal\config_entity_revisions

Code

public function setPreviewMode($preview_mode);