rules_i18n.install

Install file for Rules i18n.

File

rules_i18n/rules_i18n.install

View source
<?php


/**
 * @file
 * Install file for Rules i18n.
 */

/**
 * Implements hook_install().
 */
function rules_i18n_install() {
    global $language;
    $langcode = $language->language;
    drupal_static_reset('i18n_object_info');
    drupal_static_reset('entity_get_info');
    drupal_static_reset('entity_i18n_controller');
    cache_clear_all("entity_info:{$langcode}", 'cache');
}

Functions

Title Deprecated Summary
rules_i18n_install Implements hook_install().