function NodeTypeInterface::setDisplaySubmitted

Same name and namespace in other branches
  1. 9 core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::setDisplaySubmitted()
  2. 8.9.x core/modules/node/src/NodeTypeInterface.php \Drupal\node\NodeTypeInterface::setDisplaySubmitted()
  3. 10 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 43

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.