Skip to content

Conversation

@jenlampton
Copy link
Member

@jenlampton jenlampton commented Jan 9, 2021

Fixes #21
IAS

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.


/**
* 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