Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #21: Fix actions for views bulk operations, add message when th… #22

Open
wants to merge 1 commit into
base: 1.x-1.x
Choose a base branch
from

Conversation

jenlampton
Copy link
Member

Fixes #21

Copy link
Collaborator

@herbdool herbdool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR works fine. I've left a couple comments - the configuration form won't work with core's version of bulk operations.

/**
* Form for configuring the Flag node action.
*/
function flag_node_action_form($context = array()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if these get called. From what I recall, core version of Bulk Actions didn't include the ability to have forms for configuring actions.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interested in this -- I have the same issue with a few modules I was trying to port in my spare time (e.g. node convert, organic groups I think).

*/

/**
* Implements Drupal action. Flags any entity.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be "Backdrop action".

/**
* Form for configuring the Flag node action.
*/
function flag_node_action_form($context = array()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if these get called. From what I recall, core version of Bulk Actions didn't include the ability to have forms for configuring actions.

@@ -507,10 +507,33 @@ function flag_help($path, $arg) {
}

/**
* Implements hook_init().
* Implements hook_action_info().
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed this is in flag.module. Shouldn't it be in flag_actions.module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bulk Operations (Actions) don't seem to be working.
3 participants