You are here

function angular_media_theme in CKEditor Widgets 7

Implements hook_theme().

File

./angular_media.module, line 538
Implementation of angular_media.module.

Code

function angular_media_theme() {

  //$path = drupal_get_path('module', 'angular_media');
  return array(
    'angular_media_app' => array(
      'template' => 'templates/app',
      'variables' => array(
        //'app_path' => url(angular_media_app_path()),

        //'api_path' => url('services/rest'),
        'appUrl' => url(angular_media_app_path()),
        'style' => 'thumbnails',
        'hidden' => FALSE,
        'settings' => array(
          'fieldName' => '',
          'addlFieldName' => '',
          'files' => array(),
          'cardinality' => 1,
          'tabs' => NULL,
          'allowedTypes' => NULL,
          'cropRatio' => NULL,
          'allowedSchemes' => NULL,
          'apiUrl' => '',
          'flickrKey' => NULL,
          'flickrSearch' => NULL,
        ),
      ),
    ),
  );
}