[Tools] Create EntityBundleDelete tool
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3550850. --> Reported by: [michaellander](https://www.drupal.org/user/636494) Related to !48 >>> <h3>Tool details:</h3> <ul> <li><strong>Label:</strong> Entity Bundle Delete</li> <li><strong>Description:</strong> Deletes a bundle configuration for a given entity type.</li> <li><strong>Class name:</strong> EntityBundleDelete</li> <li><strong>Plugin id:</strong> entity_bundle_delete</li> <li><strong>Module:</strong> tool:tool_entity</li> <li><strong>Destructive</strong></li> </ul> <h3>Tool inputs:</h3> <ul> <li>Entity Type Id (entity_type_id)(string)(required)</li> <li>Bundle(bundle)(string)(required)</li> </ul> <h3>Tool outputs:</h3> <ul> <li>None</li> </ul> <h3>doExecute()</h3> <p>Delete the bundle from the entity type.</p> <h3>checkAccess()</h3> <p>Ensure the user has permission to delete bundles for this entity type.</p> > Related issue: [Issue #3539195](https://www.drupal.org/node/3539195)
issue