Deleting content and files

DELETING PAGES

Once a content node is created you have a couple of ways to delete it:

Method 1: Within the page view
  1. Under the page title and breadcrumbs you will see three tabs; View, Edit, and Delete. Click on the Delete tab.
  2. Click Delete on the next screen to confirm your action. 
Note: Deleting any content is permanent and you will not be able to recover it. 

Method 2:  All Content screen

  1. Navigate to Shortcuts » All content or Manage » Content.
  2. Locate your content node in the list of all your content. Under the Operations column, click on the Edit button's down arrow to reveal the rest of the submenu. Click the Delete option to permanently delete this piece of content.

DELETING FILES 

Unless you are deleting an entire page permanently, as described above, it is strongly recommended that you do NOT delete any documents or files you have associated with your page. Why? Because your page's Revision history relies on the existence of the files in order to maintain an active, accurate list of Revision points to which you can roll back your page if needed.

Please note that while you can unlink content from a page, as well as from a page's revision history, the file itself is still on your site and accessible via search engines. In late 2017, Drupal Core uncovered conflicts resulting in bugs indicating that files could not be deleted.

Site managers have two options in the event that a file contains information that may be sensitive in nature that it may need to be permanently removed for health or legal reasons in a timely manner:

  1. Use UC Davis' Box.com instead as this gives you greater oversight and access to your file content. It is also secure and can be worked on by a team of people with varying levels of permission, or
  2. Contact the SiteFarm team to request a special module be enabled for managing critical file content. Please note we will discuss your use case and determine if this should be permanently enabled, or if you should move your file content to Box.com. When contacting SiteFarm, please be sure to add "Urgent File Deletion: Please respond ASAP" so we can assist you quickly.