ID #24 (Previous | Next)

Expected:

    array (
      'name' => 'Example callback',
      'library path' => 'sites/all/modules/libraries/tests/example',
      'version' => '1',
      'versions' =>
      array (
        1 =>
        array (
          'variants' =>
          array (
            'example_variant' =>
            array (
              'info callback' => 'applied (version 1, variant example_variant)',
              'pre-detect callback' => 'not applied',
              'post-detect callback' => 'not applied',
              'pre-load callback' => 'not applied',
              'post-load callback' => 'not applied',
            ),
          ),
          'info callback' => 'applied (version 1)',
          'pre-detect callback' => 'not applied',
          'post-detect callback' => 'not applied',
          'pre-load callback' => 'not applied',
          'post-load callback' => 'not applied',
        ),
      ),
      'variants' =>
      array (
        'example_variant' =>
        array (
          'info callback' => 'applied (variant example_variant)',
          'pre-detect callback' => 'not applied',
          'post-detect callback' => 'not applied',
          'pre-load callback' => 'not applied',
          'post-load callback' => 'not applied',
        ),
      ),
      'callbacks' =>
      array (
        'info' =>
        array (
          0 => 'libraries_prepare_files',
          1 => '_libraries_test_info_callback',
        ),
        'pre-detect' =>
        array (
          0 => '_libraries_test_pre_detect_callback',
        ),
        'post-detect' =>
        array (
          0 => 'libraries_detect_dependencies',
          1 => '_libraries_test_post_detect_callback',
        ),
        'pre-load' =>
        array (
          0 => '_libraries_test_pre_load_callback',
        ),
        'post-load' =>
        array (
          0 => '_libraries_test_post_load_callback',
        ),
      ),
      'info callback' => 'applied (top-level)',
      'pre-detect callback' => 'not applied',
      'post-detect callback' => 'not applied',
      'pre-load callback' => 'not applied',
      'post-load callback' => 'not applied',
      'module' => 'libraries_test',
      'machine name' => 'example_callback',
      'vendor url' => '',
      'download url' => '',
      'path' => '',
      'version callback' => 'libraries_get_version',
      'version arguments' =>
      array (
      ),
      'files' =>
      array (
      ),
      'dependencies' =>
      array (
      ),
      'integration files' =>
      array (
      ),
    )