The information returned by this hook should be relevant to the library info being returned. Array keys name, vendor url, download url and version are all incorrect.

function theme_utils_libraries_info() {
  return array(
    'php-css-parser' => array(
      'name' => 'My test library',
      'vendor url' => 'http://www.example.com',
      'download url' => 'http://github.com/example/my-php-api',
      'version' => '1.0',
      'xautoload' => function($api) {
        $api->namespaceRoot('Sabberworm\CSS', 'lib');
      },
    ),
  );
}

Comments

rrrob’s picture

Status: Active » Fixed

Thanks for the report ELC. This has been fixed to include the relevant information.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.