function RulesEventHandlerEntityBundle::getBundlePropertyLabel

Returns the label to use for the bundle property.

Return value

string The label to use for the bundle property.

3 calls to RulesEventHandlerEntityBundle::getBundlePropertyLabel()
RulesEventHandlerEntityBundle::buildForm in includes/rules.event.inc
Implements RulesEventHandlerInterface::buildForm().
RulesEventHandlerEntityBundle::summary in includes/rules.event.inc
Implements RulesEventHandlerInterface::summary().
RulesEventHandlerEntityBundle::validate in includes/rules.event.inc
Implements RulesEventHandlerInterface::validate().
3 methods override RulesEventHandlerEntityBundle::getBundlePropertyLabel()
RulesCommentEventHandler::getBundlePropertyLabel in modules/comment.rules.inc
Returns the label to use for the bundle property.
RulesNodeEventHandler::getBundlePropertyLabel in modules/node.rules.inc
Returns the label to use for the bundle property.
RulesTaxonomyEventHandler::getBundlePropertyLabel in modules/taxonomy.rules.inc
Returns the label to use for the bundle property.

File

includes/rules.event.inc, line 364

Class

RulesEventHandlerEntityBundle
Exposes the bundle of an entity as event setting.

Code

protected function getBundlePropertyLabel() {
    return $this->entityInfo['entity keys']['bundle'];
}