You are here

public function RulesConditionalContainer::label in Conditional Rules 7

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

Returns the label of the element.

Overrides RulesPlugin::label

File

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

Class

RulesConditionalContainer
Base conditional statement plugin implementation.

Code

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