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

Add has-bundle-permission for generate:entity:content. #250

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions translations/generate.entity.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ options:
has-owner: 'Entity has owner'
base-path: 'The base-path for the content entity routes'
is-translatable: 'Content entity translatable'
has-bundle-permissions: 'Permissions on bundle level'
questions:
module: 'Enter the module name'
entity-class: 'Enter the class of your new content entity'
Expand All @@ -22,6 +23,7 @@ questions:
base-path: 'Enter the base-path for the content entity routes'
is-translatable: 'Is your entity translatable?'
revisionable: 'Is your entity revisionable?'
has-bundle-permissions: 'Do you want this entity to have "per bundle" permissions?'
examples:
- description: 'Generate a content entity specifying the module, the entity class, the entity name, its path and label'
execution: |
Expand Down