function 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\node

Code

public function setDisplaySubmitted($display_submitted);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.