![]() We can keep everything by default, and then click ‘apply’ and save the views. To add the ‘Delete link’, we need to add a field called ‘Link to delete File’ in this views, which appears like the following image: By default, the name of the views is ‘Files’: ![]() We can do that by going to Administration > Structure > Views and edit the views of the Files list. To download the module run the following Composer command: composer require drupal/file_delete How to ConfigureĪfter installing the module, we need to add a ‘Delete link’ to the Files page. The File Delete module adds the ability to delete files from within the administration menu. This can be achieved by installing the File Delete module. To remove files from the system, we need to add the file delete function. Removing files from content and removing files from the system are two different things in Drupal. You might be surprised that you cannot find a button, a link or an option to remove these deleted files entirely from the system.Īfter deleting files on content, if you go to the Files (admin/content/files) page, you will find the deleted files are still there, and the status still shows ‘Permanent’, even though they are already removed from the nodes. ![]() In the back end, a list of all the files uploaded can be viewed by the administrator, by going to Administration > Content > Files (admin/content/files).įiles uploaded can be easily removed from the individual content pages (see the image below), but removing them entirely from the system is another story. This can be easily achieved by creating a file or image field on content types. In Drupal, files can be uploaded to the site for users to view or download. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |