function NodeTypeInterface::setDisplaySubmitted
Same name in other branches
- 9 core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::setDisplaySubmitted()
- 10 core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::setDisplaySubmitted()
- 11.x core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::setDisplaySubmitted()
Sets whether 'Submitted by' information should be shown.
Parameters
bool $display_submitted: TRUE if the submitted by information should be shown.
1 method overrides NodeTypeInterface::setDisplaySubmitted()
- NodeType::setDisplaySubmitted in core/
modules/ node/ src/ Entity/ NodeType.php - Sets whether 'Submitted by' information should be shown.
File
-
core/
modules/ node/ src/ NodeTypeInterface.php, line 57
Class
- NodeTypeInterface
- Provides an interface defining a node type entity.
Namespace
Drupal\nodeCode
public function setDisplaySubmitted($display_submitted);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.