NodeTypeInterface::setDisplaySubmitted

public NodeTypeInterface::setDisplaySubmitted($display_submitted) Sets whether 'Submitted by' information should be shown. Parameters bool $display_submitted: TRUE if the submitted by information should be shown. File core/modules/node/src/NodeTypeInterface.php, line 50 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function setDisplaySubmitted($display_submitted);

NodeTypeInterface::isNewRevision

public NodeTypeInterface::isNewRevision() Gets whether a new revision should be created by default. Return value bool TRUE if a new revision should be created by default. File core/modules/node/src/NodeTypeInterface.php, line 26 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function isNewRevision();

NodeTypeInterface::isLocked

public NodeTypeInterface::isLocked() Determines whether the node type is locked. Return value string|false The module name that locks the type or FALSE. File core/modules/node/src/NodeTypeInterface.php, line 18 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function isLocked();

NodeTypeInterface::getPreviewMode

public NodeTypeInterface::getPreviewMode() Gets the preview mode. Return value int DRUPAL_DISABLED, DRUPAL_OPTIONAL or DRUPAL_REQUIRED. File core/modules/node/src/NodeTypeInterface.php, line 58 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function getPreviewMode();

NodeTypeInterface::getHelp

public NodeTypeInterface::getHelp() Gets the help information. Return value string The help information of this node type. File core/modules/node/src/NodeTypeInterface.php, line 74 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function getHelp();

NodeTypeInterface::getDescription

public NodeTypeInterface::getDescription() Gets the description. Return value string The description of this node type. File core/modules/node/src/NodeTypeInterface.php, line 82 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function getDescription();

NodeTypeInterface::displaySubmitted

public NodeTypeInterface::displaySubmitted() Gets whether 'Submitted by' information should be shown. Return value bool TRUE if the submitted by information should be shown. File core/modules/node/src/NodeTypeInterface.php, line 42 Class NodeTypeInterface Provides an interface defining a node type entity. Namespace Drupal\node Code public function displaySubmitted();

NodeTypeInterface

Provides an interface defining a node type entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\node\NodeTypeInterface File core/modules/node/src/NodeTypeInterface.php, line 10 Namespace Drupal\node Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableD

NodeTypeForm::__construct

public NodeTypeForm::__construct(EntityManagerInterface $entity_manager) Constructs the NodeTypeForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/modules/node/src/NodeTypeForm.php, line 30 Class NodeTypeForm Form handler for node type forms. Namespace Drupal\node Code public function __construct(EntityManagerInterface $entity_manager) { $this->entityManager = $entity_manager; }

NodeTypeForm::validateForm

public NodeTypeForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/node/src/NodeTypeForm.php, line 202 Class NodeTypeForm Form handler for node type forms. Namespace Drupal\node Code public function validateForm(array &$form, Fo