function node_library_info

Implements hook_library_info().

File

drupal/core/modules/node/node.module, line 3233
The core module that allows content to be submitted to the site.

Code

function node_library_info() {
  $libraries['drupal.node'] = array(
    'title' => 'Node',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'node') . '/node.js' => array(),
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal',
      ),
      array(
        'system',
        'drupalSettings',
      ),
      array(
        'system',
        'drupal.form',
      ),
    ),
  );
  $libraries['drupal.node.preview'] = array(
    'title' => 'Node preview',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'node') . '/node.preview.js' => array(),
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal',
      ),
    ),
  );
  $libraries['drupal.content_types'] = array(
    'title' => 'Content types',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'node') . '/content_types.js' => array(),
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal',
      ),
      array(
        'system',
        'drupal.form',
      ),
    ),
  );
  return $libraries;
}