function locale_update_7005

Increase {locales_languages}.formula column's length.

Related topics

File

modules/locale/locale.install, line 207

Code

function locale_update_7005() {
    db_change_field('languages', 'formula', 'formula', array(
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
        'description' => 'Plural formula in PHP code to evaluate to get plural indexes.',
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.