You are here

class RulesCommentEventHandler in Rules 7.2

Event handler support comment bundle event settings.

Hierarchy

Expanded class hierarchy of RulesCommentEventHandler

Related topics

1 string reference to 'RulesCommentEventHandler'
rules_comment_event_info in modules/comment.rules.inc
Implements hook_rules_event_info().

File

modules/comment.rules.inc, line 86
Rules integration for the comment module.

View source
class RulesCommentEventHandler extends RulesEventHandlerEntityBundle {

  /**
   * Returns the label to use for the bundle property.
   *
   * @return string
   *   Returns the label to use for the bundle property.
   */
  protected function getBundlePropertyLabel() {
    return t('type');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RulesCommentEventHandler::getBundlePropertyLabel protected function Returns the label to use for the bundle property. Overrides RulesEventHandlerEntityBundle::getBundlePropertyLabel
RulesEventHandlerBase::$eventInfo protected property The event info.
RulesEventHandlerBase::$eventName protected property The event name.
RulesEventHandlerBase::$settings protected property The event settings.
RulesEventHandlerBase::getEventInfo public function Implements RulesEventHandlerInterface::getEventInfo(). Overrides RulesEventHandlerInterface::getEventInfo
RulesEventHandlerBase::getEventName public function Implements RulesEventHandlerInterface::getEventName(). Overrides RulesEventHandlerInterface::getEventName
RulesEventHandlerBase::getSettings public function Implements RulesEventHandlerInterface::getSettings(). Overrides RulesEventHandlerInterface::getSettings 1
RulesEventHandlerBase::setSettings public function Implements RulesEventHandlerInterface::setSettings(). Overrides RulesEventHandlerInterface::setSettings
RulesEventHandlerEntityBundle::$bundleKey protected property
RulesEventHandlerEntityBundle::$entityInfo protected property
RulesEventHandlerEntityBundle::$entityType protected property
RulesEventHandlerEntityBundle::availableVariables public function Implements RulesEventHandlerInterface::availableVariables(). Overrides RulesEventHandlerBase::availableVariables
RulesEventHandlerEntityBundle::buildForm public function Implements RulesEventHandlerInterface::buildForm(). Overrides RulesEventHandlerInterface::buildForm
RulesEventHandlerEntityBundle::extractFormValues public function Implements RulesEventHandlerInterface::extractFormValues(). Overrides RulesEventHandlerBase::extractFormValues
RulesEventHandlerEntityBundle::getDefaults public function Implements RulesEventHandlerInterface::getDefaults(). Overrides RulesEventHandlerInterface::getDefaults
RulesEventHandlerEntityBundle::getEventNameSuffix public function Implements RulesEventHandlerInterface::getConfiguredEventName(). Overrides RulesEventHandlerInterface::getEventNameSuffix
RulesEventHandlerEntityBundle::summary public function Implements RulesEventHandlerInterface::summary(). Overrides RulesEventHandlerInterface::summary
RulesEventHandlerEntityBundle::validate public function Implements RulesEventHandlerInterface::validate(). Overrides RulesEventHandlerBase::validate
RulesEventHandlerEntityBundle::__construct public function Implements RulesEventHandlerInterface::__construct(). Overrides RulesEventHandlerBase::__construct