You are here

public function RulesConditionalElement::label in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.core.inc \RulesConditionalElement::label()

Returns the label of the element.

Overrides RulesPlugin::label

1 call to RulesConditionalElement::label()
RulesConditionalPredicateElement::pluginLabel in includes/rules_conditional.core.inc
1 method overrides RulesConditionalElement::label()
RulesConditionalPredicateElement::label in includes/rules_conditional.core.inc
Returns the label of the element.

File

includes/rules_conditional.core.inc, line 200
Conditional Rules framework implementation.

Class

RulesConditionalElement
Base conditional element plugin implementation.

Code

public function label() {
  $info = $this
    ->pluginInfo();
  $label = isset($info['label']) ? $info['label'] : t('unlabeled');
  return $label;
}