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
#[ActionMethod(adminLabel: new TranslatableMarkup('Set whether to display submission information'), pluralize: FALSE)]

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.