Call to label() in the wrong place in NodeDeleteForm

Created on 20 January 2015, over 9 years ago
Updated 25 January 2023, over 1 year ago

In the file core/modules/node/src/Form/NodeDeleteForm.php you have a function named SubmitForm with the line:

    $node_type = $node_type_storage->load($this->entity->bundle())->label();

This sets the node type label value to the variable $node_type. This is wrong!

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
Node systemΒ  β†’

Last updated about 17 hours ago

No maintainer
Created by

πŸ‡³πŸ‡±Netherlands daffie

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024