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

why not use same i18n entities like scaffolding? #23

Open
wernerkrauss opened this issue Jul 17, 2013 · 0 comments
Open

why not use same i18n entities like scaffolding? #23

wernerkrauss opened this issue Jul 17, 2013 · 0 comments

Comments

@wernerkrauss
Copy link
Contributor

So instead of

MyDataObject.HELLOWORLD

MyDataObject.db_MyField

or MyDataObject.has_one_RelationName

So we can use the same entities for generateCMSFields and Scaffolding, e.g. getFrontEndFields()

This would need a tweak in all form templates or does BedrockField::getEntity() know if it's a db_ or has_one_ field?

Would be great if we could make it switchable, so it doesn't break old code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant