Deleteable entities must have a label

Created on 4 June 2025, about 1 month ago

Problem/Motivation

  1. Since SocialApi extends ContentEntityBase, SocialApi should provide a label.
  2. For example Drupal\Core\Entity\Controller\EntityController::deleteTitle() expects to get a label

Steps to reproduce

  1. Enable some usage of the entity label like metatag entity title
  2. Attempt to delete a social auth
  3. Fatal error because the label argument passed in Drupal\Core\Entity\Controller\EntityController::deleteTitle() is NULL yet null is not allowed in TranslateableMarkup

Proposed resolution

Add an entity label based on the plugin

Remaining tasks

MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024