public function ConfigEntityRevisionsTypeInterface::setPreviewMode in Config Entity Revisions 8.2
Same name and namespace in other branches
- 8 src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::setPreviewMode()
- 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_revisionsCode
public function setPreviewMode($preview_mode);