public NodeType::setDisplaySubmitted($display_submitted)
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 141
Class
- NodeType
- Defines the Node type configuration entity.
Namespace
Drupal\node\Entity
Code
public function setDisplaySubmitted($display_submitted) { $this->display_submitted = $display_submitted; }
Please login to continue.