function composer_autoload_help in Composer Autoload 7
Implements hook_help().
File
- ./
composer_autoload.module, line 97 - Provides primary Drupal hook implementations.
Code
function composer_autoload_help($path) {
switch ($path) {
case 'admin/help#composer_autoload':
return '<p>' . t('The Composer Autoload module will automatically load any found autoload.php files in your module directories. In the <a href="@composer_autoload">Composer Autoload administration page</a>, you can also specify your own customized autoload.php path.', array(
'@composer_autoload' => url('admin/config/development/composer_autoload'),
)) . '</p>';
case 'admin/config/development/composer_autoload':
$output = '<p>' . t('The Composer Autoload module will load any found autoload.php files in your module directories.') . '</p>';
$output .= theme('item_list', array(
'title' => t('Found Composer Autoload Files'),
'items' => composer_autoload_get_autoload_paths(),
));
return $output;
}
}