[Tools] Create FieldDelete tool
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3550863. --> Reported by: [michaellander](https://www.drupal.org/user/636494) >>> <h3>Tool details:</h3> <ul> <li><strong>Label:</strong> Field Delete</li> <li><strong>Description:</strong> Deletes a field from a specific entity bundle.</li> <li><strong>Class name:</strong> FieldDelete</li> <li><strong>Plugin id:</strong> field_delete</li> <li><strong>Destructive</strong></li> </ul> <h3>Tool inputs:</h3> <ul> <li>Entity Type Id (entity_type_id)(string)(required)</li> <li>Bundle Id (bundle_id)(string)(required)</li> <li>Field Name (field_name)(string)(required)</li> </ul> <h3>Tool outputs:</h3> <ul> <li>Nothing</li> </ul> <h3>doExecute()</h3> <p>Delete the specified field instance from the entity bundle and remove related configuration.</p> <h3>checkAccess()</h3> <p>Ensure the user has permission to delete fields for the given entity type and bundle.</p> > Related issue: [Issue #3539195](https://www.drupal.org/node/3539195)
issue