You are here

public function NodeTypeInterface::setDisplaySubmitted in Drupal 10

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