LibraryDependencyResolverTest::$libraryData
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::libraryData
- 10 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::libraryData
- 11.x 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 40
Class
- LibraryDependencyResolverTest
- @coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver @group Asset
Namespace
Drupal\Tests\Core\AssetCode
protected $libraryData = [
'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',
],
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.