Skip to main content
1 of 2
NicklasF
  • 329
  • 4
  • 14

Here is a patch that adds a custom entity alter for the label: https://www.drupal.org/project/paragraphs/issues/2900538

The attached patch will allow developers to implement hook_paragraph_label_alter().

It can then be used like

function hook_paragraph_label_alter(string &$label, Paragraph $paragraph) { 
  $label = "This is a new label";
}
NicklasF
  • 329
  • 4
  • 14