- Issue created by @linebreak
- 🇮🇱Israel jsacksick
The thing is I'm not sure this is the right fix as the label method has the following signature:
/** * Gets the label of the entity. * * @return string|\Drupal\Core\StringTranslation\TranslatableMarkup|null * The label of the entity, or NULL if there is no label defined. */ public function label();
The label method can return NULL, so modules dealing with labels should account for that, so to me this is a won't fix.