function NodeType::setDisplaySubmitted
Sets whether 'Submitted by' information should be shown.
Parameters
bool $display_submitted: TRUE if the submitted by information should be shown.
Overrides NodeTypeInterface::setDisplaySubmitted
File
-
core/
modules/ node/ src/ Entity/ NodeType.php, line 149
Class
- NodeType
- Defines the Node type configuration entity.
Namespace
Drupal\node\EntityCode
public function setDisplaySubmitted($display_submitted) {
$this->display_submitted = $display_submitted;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.