You are here

public function ConfigEntityRevisionsConfigEntityTrait::previewFormId in Config Entity Revisions 8.2

Return the preview form ID, if applicable.

Return value

mixed The preview form id, if applicable, or NULL.

File

src/ConfigEntityRevisionsConfigEntityTrait.php, line 223

Class

ConfigEntityRevisionsConfigEntityTrait
Trait ConfigEntityRevisionsConfigEntityTrait.

Namespace

Drupal\config_entity_revisions

Code

public function previewFormId() {
  return $this->constants['preview_form_id'] ?: NULL;
}