devel_wizard-2.x-dev/templates/spell/entity_type/content/edit_form.php.twig
templates/spell/entity_type/content/edit_form.php.twig
{%
include '@devel_wizard/php/devel_wizard.php.file.header.php.twig'
with {
'namespace': content.namespace,
}
%}
class EditForm extends AddForm {
protected function saveSetMessage(): static {
$args = [
'%label' => $this->entity->label(),
'@type' => $this->entity->getEntityType()->getLabel(),
];
$this->messenger()->addStatus($this->t('"%label" @type has been updated', $args));
return $this;
}
}
