public function ConfigEntityRevisionsType::getPreviewMode in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/Entity/ConfigEntityRevisionsType.php \Drupal\config_entity_revisions\Entity\ConfigEntityRevisionsType::getPreviewMode()
- 1.x src/Entity/ConfigEntityRevisionsType.php \Drupal\config_entity_revisions\Entity\ConfigEntityRevisionsType::getPreviewMode()
Gets the preview mode.
Return value
int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
Overrides ConfigEntityRevisionsTypeInterface::getPreviewMode
File
- src/
Entity/ ConfigEntityRevisionsType.php, line 135
Class
- ConfigEntityRevisionsType
- Defines the Config Entity Revisions configuration entity.
Namespace
Drupal\config_entity_revisions\EntityCode
public function getPreviewMode() {
return $this->preview_mode;
}