Skip to content

Commit 3f29719

Browse files
clemens-tolboomenzolutions
authored andcommitted
Add has-bundle-permission for generate:entity:content. (#250)
1 parent a8872d3 commit 3f29719

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

translations/generate.entity.content.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ options:
1111
has-owner: 'Entity has owner'
1212
base-path: 'The base-path for the content entity routes'
1313
is-translatable: 'Content entity translatable'
14+
has-bundle-permissions: 'Permissions on bundle level'
1415
questions:
1516
module: 'Enter the module name'
1617
entity-class: 'Enter the class of your new content entity'
@@ -22,6 +23,7 @@ questions:
2223
base-path: 'Enter the base-path for the content entity routes'
2324
is-translatable: 'Is your entity translatable?'
2425
revisionable: 'Is your entity revisionable?'
26+
has-bundle-permissions: 'Do you want this entity to have "per bundle" permissions?'
2527
examples:
2628
- description: 'Generate a content entity specifying the module, the entity class, the entity name, its path and label'
2729
execution: |

0 commit comments

Comments
 (0)