[Tools] Create FieldStorageUpdate tool
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3550859. --> Reported by: [michaellander](https://www.drupal.org/user/636494) Related to !45 >>> <h3>Tool details:</h3> <ul> <li><strong>Label:</strong> Field Storage Update</li> <li><strong>Description:</strong> Updates existing field storage configuration for an entity type.</li> <li><strong>Class name:</strong> FieldStorageUpdate</li> <li><strong>Plugin id:</strong> field_storage_update</li> </ul> <h3>Tool inputs:</h3> <ul> <li>Entity Type Id (entity_type_id)(string)(required)</li> <li>Field Name (field_name)(string)(required)</li> <li>Settings (settings)(array)(optional)(Refineable, see <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/tool/issues/3545828" title="Status: Closed (fixed)">#3545828: Introduce InputDefinitionRefinerInterface</a></span>)</li> </ul> <h3>Tool outputs:</h3> <ul> <li>TBD(config_entity or nothing)</li> </ul> <h3>doExecute()</h3> <p>Update the field storage configuration with new settings or definitions.</p> <h3>checkAccess()</h3> <p>Ensure the user has permission to update field storage.</p> <h3>Notes:</h3> <p>We should consider what is needed for explaining settings schema. We should also decide if field name should automatically be prefixed with 'field_' to match the UI, or leave that open.</p> > Related issue: [Issue #3539195](https://www.drupal.org/node/3539195)
issue