function file_library_info

Implements hook_library_info().

File

drupal/core/modules/file/file.module, line 1592
Defines a "managed_file" Form API field and a "file" field for Field module.

Code

function file_library_info() {
  $libraries['drupal.file'] = array(
    'title' => 'File',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'file') . '/file.js' => array(),
    ),
    'css' => array(
      drupal_get_path('module', 'file') . '/file.admin.css',
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal',
      ),
      array(
        'system',
        'drupalSettings',
      ),
    ),
  );
  return $libraries;
}