LibraryDiscoveryCollectorTest::$libraryData
Test library data.
Type: array
File
- 
              core/tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryCollectorTest.php, line 58 
Class
- LibraryDiscoveryCollectorTest
- @coversDefaultClass \Drupal\Core\Asset\LibraryDiscoveryCollector[[api-linebreak]] @group Asset
Namespace
Drupal\Tests\Core\AssetCode
protected $libraryData = [
  'test_1' => [
    'js' => [],
    'css' => [],
  ],
  'test_2' => [
    'js' => [],
    'css' => [],
  ],
  'test_3' => [
    'js' => [],
    'css' => [
      'theme' => [
        'foo.css' => [],
      ],
    ],
  ],
  'test_4' => [
    'js' => [],
    'css' => [
      'theme' => [
        'bar.css' => [],
      ],
    ],
    'deprecated' => 'The "%library_id%" asset library is deprecated in drupal:X.0.0 and is removed from drupal:Y.0.0. Use the test_3 library instead. See https://www.example.com',
  ],
];Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
