My module prvides RulesAction plugins (extending RulesActionBase) which can be used by admins when building reaction rules. In some cases the action is not valid and when this happens and the rule is triggered I want to give a message and include the name of the Rule that was triggered, so that the admin/developer knows where to go to get it fixed.
I can use
$this->summary() to give me the name of the rulesAction component, but I know this already as that is what my nodule is providing. I have looked through the properties and methods of
RulesActionBase but have not found out yet how to get the name of the overall rule, as shown in the 'label' column on admin/config/workflow/rules