Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryan-l-robinson/drupal-recycle-bin
A demo of a recycle bin (soft delete) solution for Drupal, with no custom code
https://github.com/ryan-l-robinson/drupal-recycle-bin
Last synced: 3 days ago
JSON representation
A demo of a recycle bin (soft delete) solution for Drupal, with no custom code
- Host: GitHub
- URL: https://github.com/ryan-l-robinson/drupal-recycle-bin
- Owner: ryan-l-robinson
- Created: 2023-02-26T21:50:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T23:56:02.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T05:13:07.999Z (about 2 months ago)
- Language: PHP
- Size: 153 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
This provides a base Drupal site that can function within [GitPod](https://gitpod.io), with the addition of a soft delete / recycle bin system
## Related Blog Post
For more on how this was implemented, see [the related blog post](https://ryanrobinson.technology/websites/drupal/recycle-bin/).
## Key Files
The relevant configuration files to implement these features are:
- core.base_field_override.node.recyclable_content_type_.promote.yml
- core.entity_form_display.node.recycle_content_type_.default.yml
- core.entity_view_display.node.recycle_content_type_.default.yml
- core.entity_view_display.node.recycle_content_type_.teaser.yml
- field.field.node.recycle_content_type_.body.yml
- field.field.node.recycle_content_type_.field_flag_for_delete.yml
- field.storage.node.field_flag_for_delete.yml
- node.type.recycle_content_type_.yml
- system.action.user_add_role_action.admin.yml
- system.action.user_remove_role_action.admin.yml
- user.role.admin.yml
- views.view.content.yml## GitPod Usage
1. Install GitPod and sign up for an account with your GitLab, GitHub, or Bitbucket account, if you haven't already. Add the browser extension.
1. Click the "GitPod" button that now appears beside this repository or your own repository.
1. Optionally launch Visual Studio Code to edit from the desktop app instead of the browser.## Default Admin User
Username: admin
Password: ZNB*ufm1tyz4rwc@yzk