You are here

protected property LibraryDependencyResolverTest::$libraryData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::libraryData

Test library data.

Type: array

File

core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php, line 45
Contains \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest.

Class

LibraryDependencyResolverTest
@coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver @group Asset

Namespace

Drupal\Tests\Core\Asset

Code

protected $libraryData = array(
  'no_deps_a' => [
    'js' => [],
    'css' => [],
  ],
  'no_deps_b' => [
    'js' => [],
    'css' => [],
  ],
  'no_deps_c' => [
    'js' => [],
    'css' => [],
  ],
  'deps_a' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/no_deps_a',
    ],
  ],
  'deps_b' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/no_deps_a',
      'test/no_deps_b',
    ],
  ],
  'deps_c' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/no_deps_b',
      'test/no_deps_a',
    ],
  ],
  'nested_deps_a' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/deps_a',
    ],
  ],
  'nested_deps_b' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/nested_deps_a',
    ],
  ],
  'nested_deps_c' => [
    'js' => [],
    'css' => [],
    'dependencies' => [
      'test/nested_deps_b',
    ],
  ],
);