You are here

function d3_get_library_info_handlers_info in d3.js 7

Get information on all info handlers.

Return value

Array of library info handler info arrays.

2 calls to d3_get_library_info_handlers_info()
d3_detect_library_info in ./d3.module
Library post-detect callback to process info files before caching.
d3_get_library_info_handler in ./d3.module
Get a handler object for a library.

File

./d3.module, line 231
D3 module file for creating visualizations with d3.js.

Code

function d3_get_library_info_handlers_info() {
  $handlers = array(
    'default' => array(
      'processor' => 'D3LibraryInfoProcessor',
      'controller' => 'D3LibraryInfoController',
      'mapping' => 'D3DataMapping',
    ),
  );

  // Allow submodules of d3 to define new library info handlers.
  $handlers += module_invoke_all('library_info_handlers');

  // Allow submodules of d3 to alter current info handlers.
  drupal_alter('library_info_handlers', $handlers);
  return $handlers;
}