NodeType::id

public NodeType::id() Gets the identifier. Return value string|int|null The entity identifier, or NULL if the object does not yet have an identifier. Overrides Entity::id File core/modules/node/src/Entity/NodeType.php, line 105 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function id() { return $this->type; }

NodeType::getPreviewMode

public NodeType::getPreviewMode() Gets the preview mode. Return value int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED. Overrides NodeTypeInterface::getPreviewMode File core/modules/node/src/Entity/NodeType.php, line 148 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function getPreviewMode() { return $this->preview_mode; }

NodeType::getHelp

public NodeType::getHelp() Gets the help information. Return value string The help information of this node type. Overrides NodeTypeInterface::getHelp File core/modules/node/src/Entity/NodeType.php, line 162 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function getHelp() { return $this->help; }

NodeType::getDescription

public NodeType::getDescription() Gets the description. Return value string The description of this node type. Overrides NodeTypeInterface::getDescription File core/modules/node/src/Entity/NodeType.php, line 169 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function getDescription() { return $this->description; }

NodeType::displaySubmitted

public 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 134 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function displaySubmitted() { return $this->display_submitted; }

NodeType::$type

The machine name of this node type. @todo Rename to $id. Type: string File core/modules/node/src/Entity/NodeType.php, line 56 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $type;

NodeType::$preview_mode

The preview mode. Type: int File core/modules/node/src/Entity/NodeType.php, line 93 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $preview_mode = DRUPAL_OPTIONAL;

NodeType::$new_revision

Default value of the 'Create new revision' checkbox of this node type. Type: bool File core/modules/node/src/Entity/NodeType.php, line 86 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $new_revision = TRUE;

NodeType::$name

The human-readable name of the node type. @todo Rename to $label. Type: string File core/modules/node/src/Entity/NodeType.php, line 65 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $name;

NodeType::$help

Help information shown to the user when creating a Node of this type. Type: string File core/modules/node/src/Entity/NodeType.php, line 79 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $help;