https://github.com/dpi/block_content_revision_ui
https://www.drupal.org/project/block_content_revision_ui
https://github.com/dpi/block_content_revision_ui
Last synced: 4 months ago
JSON representation
https://www.drupal.org/project/block_content_revision_ui
- Host: GitHub
- URL: https://github.com/dpi/block_content_revision_ui
- Owner: dpi
- License: gpl-2.0
- Created: 2018-07-03T10:17:38.000Z (almost 8 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2018-07-03T10:18:10.000Z (almost 8 years ago)
- Last Synced: 2026-01-20T15:47:29.345Z (5 months ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Block Content Revision UI
Copyright (C) 2018 Daniel Phin (@dpi)
This module takes advantage of work in progress Drupal core patches to add
generic revision UI to block content.
# License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Instructions
Requires core patches:
## Adds generic revision UI
https://www.drupal.org/node/2350939
Adds the ability for entities other than node to use a revision UI. Including
revert form, and history list.
## Add revision parameter to relevant routes
https://www.drupal.org/project/drupal/issues/2927077
The revision history page uses $entity->toUrl('revision-revert-form'), but
toUrl does not yet add block_content_revision parameter automatically.
The patch adds the appropriate parameter.