function 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 147

Class

NodeType
Defines the Node type configuration entity.

Namespace

Drupal\node\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.