This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/vendor/drupal/console-en/translations/entity.delete.yml
2018-11-23 12:29:20 +00:00

19 lines
764 B
YAML

description: 'Delete an specific entity'
help: 'The <info>entity:delete</info> command helps you delete entities.'
arguments:
entity-definition-id: 'Entity definition id'
entity-id: 'Entity ID to be deleted'
options:
all: 'Delete all entities of the given type.'
questions:
entity-type: 'Enter the Entity type'
entity-definition-id: 'Enter the Entity definitin id'
entity-id: 'Enter the Entity ID to be deleted'
messages:
confirm-delete-all: 'Do you want to delete all entities of type "%s" ("%d")?'
deleted: 'Entity "%s" with id "%s" was deleted successfully'
deleted-all: 'All entities of type "%s" ("%d") were deleted.'
examples:
- description: 'Delete entity type content using node id'
execution: |
drupal entity:delete node 1