I’m trying to edit the field labels in an Elemental content block. Normally I would use
$fields->dataFieldByName(‘Title’)->setTitle(‘Block Title - H2 (displayed if checked)’);
in the beforeUpdateCMSFields function, but this doesn’t seem to work
@Scribbler my memory is hazy but I think you can override provideBlockSchema()
to do that. See Refactor SummaryComponent to support other block types better · Issue #582 · dnadesign/silverstripe-elemental · GitHub