public NodeTypeInterface::setPreviewMode($preview_mode)
Sets the preview mode.
Parameters
int $preview_mode: DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
File
- core/modules/node/src/NodeTypeInterface.php, line 66
Class
- NodeTypeInterface
- Provides an interface defining a node type entity.
Namespace
Drupal\node
Code
public function setPreviewMode($preview_mode);
Please login to continue.