Delete quick

Categories

Component ID

2116515

Component name

Delete quick

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Overview

Module allows you to delete nodes of specified types without confirmation screen.

It might be useful for nodes of simple and 'not important' types (tips, messages e.t.c — nodes that should be easy to create and to delete).

Features

  • Module creates menu path 'node/%nid/delete_quick', that deletes node %nid without confirmation screen.
  • On the module setting page you can select node types, that could be deleted this way, and this prevents deleting nodes of other node types
  • Adds link "Quick delete" to Contextual links (see screenshot 2)

How to use

  • Install and enable module as usual (See
    Installing contributed modules (Drupal 7))
  • On the module settings page (admin/config/system/delete_quick) choose node types that you want to be able to delete without confirmation
  • To node's Contextual menu will be added "Quick delete" link (see screenshot 2). If you don't need this link, you can hide it by CSS.
  • You can also use in you code path 'node/%nid/delete_quick' for making quick delete links manually