You are here

public function ReferenceTypeInterface::setPreviewMode in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Entity/ReferenceTypeInterface.php \Drupal\bibcite_entity\Entity\ReferenceTypeInterface::setPreviewMode()

Sets the preview mode.

Parameters

int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.

1 method overrides ReferenceTypeInterface::setPreviewMode()
ReferenceType::setPreviewMode in modules/bibcite_entity/src/Entity/ReferenceType.php
Sets the preview mode.

File

modules/bibcite_entity/src/Entity/ReferenceTypeInterface.php, line 81

Class

ReferenceTypeInterface
Provides an interface for defining Reference type entities.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setPreviewMode($preview_mode);