NodeTypeInterface::setPreviewMode

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);
doc_Drupal
2016-10-29 09:31:42
Comments
Leave a Comment

Please login to continue.