Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ContentEntityDeleteForm as a base class for content entity delete forms #1589

Merged

Conversation

tstoeckler
Copy link
Contributor

Currently ContentEntityConfirmFormBase is being used but ContentEntityDeleteForm already provides the delete-specific information.

It is in fact superior to the current delete template because it properly handles entity translations.

I don't know if there is much of a use-case of overriding the delete form (i.e. I usually just reference ContentEntityDeleteForm in the entity annotation directly), but I went for the minimally invasive change for now.

@jmolivas jmolivas modified the milestone: 0.10.1 Dec 28, 2015
@jmolivas
Copy link
Member

@tstoeckler: Thanks for the PR.

jmolivas added a commit that referenced this pull request Dec 30, 2015
Use ContentEntityDeleteForm as a base class for content entity delete forms
@jmolivas jmolivas merged commit 2d7a675 into hechoendrupal:master Dec 30, 2015
@tstoeckler tstoeckler deleted the fix-content-entity-delete-form branch December 30, 2015 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants