Skip to main content

Questions tagged [actions]

A specially written PHP callback whose parameters are configured through the web is, in Drupal terminology, an action.

Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

custom action plugin with ConfigurationForm

I am trying to create a custom action with Configuration Form Field . I am able to create Action and it is being displayed on content page ( /admin/content ) , but I am not able to find the path to ...
miststudent2011's user avatar
19 votes
3 answers
16k views

How to change a field value with a Rules Action?

I'm trying to set up a Rules Action that can change the value of a field. I created an Action Set with a data type of Node. When I go to create a Rules Action, I have access to every default Drupal ...
Joren's user avatar
  • 2,440
5 votes
1 answer
5k views

How to create custom rules action event conditions?

Is there any universal formula or module to create custom rules actions, events and conditions? So that I just have to replace the required values and rest of the code remains the same. I searched, ...
Umair's user avatar
  • 441
-1 votes
1 answer
167 views

Taxonomy Term Field of a Reference Field in a Product not available in Data Selector for CheckOut Rules

I installed Drupal Commerce Kickstart 2 with drupal version 7.54 and drupal commerce Version: 7.x-1.14. My problem is I want to send email to the store owner every time an order is completed. So in ...
alyssaeliyah's user avatar
9 votes
4 answers
8k views

How do I Bulk Edit Fields or Taxonomy of Nodes?

I'm working on a site that needs bulk tagging on nodes. The D8 core View Bulk Operations Port is "simple" (https://www.drupal.org/node/1823572) and it doesn't have "modify entity values" which I used ...
Aidan Foster's user avatar
4 votes
5 answers
9k views

New action for Views Bulk Operations

I'm trying to add some custom actions to my Views Bulk Operations, but for some reason, they don't appear in the list. This is my code (got it from Drupal.org, so I guess this is a working code...) ...
Michiel's user avatar
  • 1,567
3 votes
2 answers
3k views

execute a php code after a user login

I see that triggers page is changed from the version 6, It's pretty wierd.. I can't find When user logs in execute a php code thing... What I have to do is exactly that.. control some user roles ...
PartySoft's user avatar
  • 1,046
3 votes
3 answers
5k views

How to create custom VBO action?

I need to update term references on nodes without updating the "changed" timestamp on the node. If I use VBO with "modify entity values" as action I can update the term reference but it will also ...
uwe's user avatar
  • 12k
2 votes
3 answers
3k views

Operations bulk form for custom content entity

There is a custom entity called organisation. I am trying to build a view to allow bulk delete of the entities. I checked the view for display content and there is a field to display the checkbox(...
Shriram Shrikumar's user avatar
2 votes
1 answer
177 views

How to display a form filled by a VBO-submission?

I'd like to use Privatemsg module to send messages to group of users. For this purpose I plan to use a view with Views Bulk Operations (VBO) and plenty of exposed filters. I was able to create a ...
StG's user avatar
  • 302
2 votes
1 answer
2k views

Module that provides Rules action to create node?

Is an Action to create a node available in any module? I tried searching but couldn't find it. I was hoping something as basic as a node create action would be available.
radj's user avatar
  • 1,011
2 votes
2 answers
2k views

Trigger an action programmatically

I have defined an action and want to trigger it from a hook. We do not want to use the Rules module, because it is still buggy with Drupal 8. So, we cannot use rules_invoke_component(). What is the ...
Philipp Zedler's user avatar
1 vote
2 answers
598 views

How can I produce a non-blocking process to modify newly created nodes of custom content type?

I have a custom content type called a Scan where the only required field is ISBN. Nodes of this type are created when a user POSTs to my REST API endpoint with an ISBN number. That's all working fine, ...
Martin Joiner's user avatar