You are here

protected property LibraryDiscoveryTest::$libraryData in Zircon Profile 8.0

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

Test library data.

Type: array

File

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

Class

LibraryDiscoveryTest
@coversDefaultClass \Drupal\Core\Asset\LibraryDiscovery @group Asset

Namespace

Drupal\Tests\Core\Asset

Code

protected $libraryData = [
  'test_1' => [
    'js' => [],
    'css' => [
      'foo.css' => [],
    ],
  ],
  'test_2' => [
    'js' => [
      'bar.js' => [],
    ],
    'css' => [],
  ],
];