function NodeTypeInterface::getPreviewMode
Same name in other branches
- 8.9.x core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::getPreviewMode()
- 10 core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::getPreviewMode()
- 11.x core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::getPreviewMode()
Gets the preview mode.
Return value
int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
1 method overrides NodeTypeInterface::getPreviewMode()
- NodeType::getPreviewMode in core/
modules/ node/ src/ Entity/ NodeType.php
File
-
core/
modules/ node/ src/ NodeTypeInterface.php, line 51
Class
- NodeTypeInterface
- Provides an interface defining a node type entity.
Namespace
Drupal\nodeCode
public function getPreviewMode();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.