You are here

public function ReferenceType::getPreviewMode in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::getPreviewMode()

Gets the preview mode.

Return value

int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.

Overrides ReferenceTypeInterface::getPreviewMode

File

modules/bibcite_entity/src/Entity/ReferenceType.php, line 160

Class

ReferenceType
Defines the Reference type entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function getPreviewMode() {
  return $this->preview_mode;
}