diff --git a/core/modules/node/node.module b/core/modules/node/node.module index ff3c258..446ce2c 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -640,7 +640,6 @@ function template_preprocess_node(&$variables) { } // Display post information only on certain node types. - // Avoid loading the entire node type config entity here that may not exist. $node_type = $node->type->entity; // Used by RDF to add attributes around the author and date submitted. $variables['author_attributes'] = new Attribute(); diff --git a/core/modules/node/src/Entity/NodeType.php b/core/modules/node/src/Entity/NodeType.php index 89d5540..73e1202 100644 --- a/core/modules/node/src/Entity/NodeType.php +++ b/core/modules/node/src/Entity/NodeType.php @@ -7,7 +7,6 @@ namespace Drupal\node\Entity; -use Drupal\Component\Utility\NestedArray; use Drupal\Core\Config\Entity\ConfigEntityBundleBase; use Drupal\Core\Config\Entity\ThirdPartySettingsTrait; use Drupal\Core\Entity\EntityStorageInterface;