public NodeTypeInterface::getPreviewMode()
Gets the preview mode.
Return value
int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED.
File
- core/modules/node/src/NodeTypeInterface.php, line 58
Class
- NodeTypeInterface
- Provides an interface defining a node type entity.
Namespace
Drupal\node
Code
public function getPreviewMode();
Please login to continue.