Declare getFile() method as protected instead of private
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3279220. -->
Reported by: [stefan.korn](https://www.drupal.org/user/1942204)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I would like to extend this module's functionality to delete a file on a custom media source type. If the getFile() method of this module would be protected instead of private, I could do this very easily by extending the MediaDeleteForm. Otherwise I would need to recreate the whole form class or at least big parts of it.<br>
Not sure why the method is made private, hopefully switching to protected instead would be possible.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>na</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>I provide a small patch</p>
issue