You are here

function theme_rules_logical_operation_label in Rules 6

Themes the operation label

2 theme calls to theme_rules_logical_operation_label()
theme_condition in rules_admin/rules_admin.render.inc
Renders a condition
theme_rules_operation in rules_admin/rules_admin.render.inc
Themes the children of a logical operation. It put the operation in between each children. This function is invoked through the #theme property of the logical operations.

File

rules_admin/rules_admin.render.inc, line 169
Rules Admin UI Functions for rendering a rule. If a rule is viewed, it's passed to drupal_get_form so it is rendered with drupal_render().

Code

function theme_rules_logical_operation_label($op, $label) {
  return "<div class='logical-op-{$op}'>{$label}</div>";
}