You are here

function references_dialog_attached in References dialog 7

Get everything that needs to be attached in order for the links to work.

2 calls to references_dialog_attached()
references_dialog_element_info in ./references_dialog.module
Implements hook_element_info().
references_dialog_process_widget in ./references_dialog.module
Add our references dialog fields to the existing element

File

./references_dialog.module, line 59
This the main module file.

Code

function references_dialog_attached() {
  $module_patch = drupal_get_path('module', 'references_dialog');
  return array(
    'js' => array(
      $module_patch . '/js/references-dialog.js',
    ),
    'css' => array(
      $module_patch . '/css/references-dialog-admin.css',
    ),
    'library' => array(
      array(
        'system',
        'ui.dialog',
      ),
    ),
  );
}