public function ReferenceType::setPreviewMode in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::setPreviewMode()
Sets the preview mode.
Parameters
int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
Overrides ReferenceTypeInterface::setPreviewMode
File
- modules/
bibcite_entity/ src/ Entity/ ReferenceType.php, line 167
Class
- ReferenceType
- Defines the Reference type entity.
Namespace
Drupal\bibcite_entity\EntityCode
public function setPreviewMode($preview_mode) {
$this->preview_mode = $preview_mode;
}