You are here

class RulesI18nStringController in Rules 7.2

Rules i18n integration controller.

Hierarchy

Expanded class hierarchy of RulesI18nStringController

1 string reference to 'RulesI18nStringController'
rules_i18n_entity_info_alter in rules_i18n/rules_i18n.module
Implements hook_entity_info_alter().

File

rules_i18n/rules_i18n.i18n.inc, line 11
Internationalization integration based upon the entity API i18n stuff.

View source
class RulesI18nStringController extends EntityDefaultI18nStringController {

  /**
   * Overridden to customize i18n object info.
   *
   * @see EntityDefaultI18nStringController::hook_object_info()
   */
  public function hook_object_info() {
    $info = parent::hook_object_info();
    $info['rules_config']['class'] = 'RulesI18nStringObjectWrapper';
    return $info;
  }

  /**
   * Overridden to customize the used menu wildcard.
   */
  protected function menuWildcard() {
    return '%rules_config';
  }

  /**
   * Provide the menu base path. We can provide only one though.
   */
  protected function menuBasePath() {
    return 'admin/config/workflow/rules/reaction';
  }

}

Members