This patch adds "Set moderation flag" and "Unset moderation flag" node actions. They work in exactly the same way as the current promote/unpromote and sticky/unsticky actions.

Comments

Anonymous’s picture

Component: node system » usability

The patch looks good, need to test it.

Status: Needs review » Needs work

The last submitted patch failed testing.

lilou’s picture

Status: Needs work » Needs review
jvandyk’s picture

StatusFileSize
new2.03 KB

Rerolled.

catch’s picture

Status: Needs review » Needs work

The PHPdoc for this should have a line break between the 'Implementation...' and the description - otherwise Druplicon spits "[Documented summary is not one line. This is a bug. File a patch!" (as it does for many of the other core actions).

Anonymous’s picture

Version: 7.x-dev » 8.x-dev
Component: usability » ajax system
Status: Needs work » Postponed (maintainer needs more info)

Do we still want this?

nod_’s picture

Component: ajax system » action.module

Not an ajax thing.

pasqualle’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

the node.moderate column has been removed from Drupal 7
https://www.drupal.org/node/70591