You are here

function coder_upgrade_upgrade_info in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_upgrade/conversions/list.inc \coder_upgrade_upgrade_info()

Implements hook_upgrade_info().

1 call to coder_upgrade_upgrade_info()
CoderUpgradeUnitTestCase::testRunInterface in coder_upgrade/coder_upgrade.test
Tests the upgrade routines (outside of the user interface).

File

coder_upgrade/conversions/list.inc, line 28
Provides list of conversion routines.

Code

function coder_upgrade_upgrade_info() {
  $format = array(
    'title' => t('Coding standards for 6.x and 7.x (parse and rewrite code files using the Grammar Parser) (it is recommended to run this routine before applying core API change routines so that the patch files accurately reflect the routines applied)'),
    'link' => 'http://drupal.org/coding-standards',
    'module' => 'grammar_parser',
    'files' => array(),
  );
  $upgrade = array(
    'title' => t('Core API changes from 6.x to 7.x (also includes coding standards changes from rewrite of code files using the Grammar Parser)'),
    'link' => 'http://drupal.org/node/394070',
    'module' => 'coder_upgrade',
    'files' => array(
      'conversions/begin.inc',
      'conversions/call.inc',
      'conversions/db.inc',
      'conversions/end.inc',
      'conversions/function.inc',
      'conversions/install.inc',
      'conversions/regex.inc',
      'conversions/tool.inc',
    ),
  );
  return array(
    'grammar_parser' => $format,
    'coder_upgrade' => $upgrade,
  );
}