Same name and namespace in other branches
  1. 8.9.x core/modules/node/src/Entity/NodeType.php \Drupal\node\Entity\NodeType::displaySubmitted()
  2. 9 core/modules/node/src/Entity/NodeType.php \Drupal\node\Entity\NodeType::displaySubmitted()

Gets whether 'Submitted by' information should be shown.

Return value

bool TRUE if the submitted by information should be shown.

Overrides NodeTypeInterface::displaySubmitted

File

core/modules/node/src/Entity/NodeType.php, line 138

Class

NodeType
Defines the Node type configuration entity.

Namespace

Drupal\node\Entity

Code

public function displaySubmitted() {
  return $this->display_submitted;
}