You are here

function entity_embed_library in Entity Embed 7.2

Same name and namespace in other branches
  1. 7 entity_embed.module \entity_embed_library()

File

./entity_embed.module, line 412
Provides a CKEditor plugin and text filter for embedding and rendering entities.

Code

function entity_embed_library() {
  $libraries['drupal.editor.dialog'] = array(
    'title' => 'Drupal Editor Dialog',
    'website' => 'http://www.drupal.org',
    'version' => VERSION,
    'js' => array(
      drupal_get_path('module', 'entity_embed') . '/js/editor/editor.dialog.js' => array(
        'weight' => 2,
      ),
    ),
    'dependencies' => array(
      array(
        'system',
        'jquery',
      ),
      array(
        'system',
        'drupal.ajax',
      ),
      array(
        'dialog',
        'drupal.dialog',
      ),
    ),
  );
  return $libraries;
}