NodeType::setDisplaySubmitted

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;
}
doc_Drupal
2016-10-29 09:31:31
Comments
Leave a Comment

Please login to continue.