protected property LibraryDependencyResolverTest::$libraryData in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php \Drupal\Tests\Core\Asset\LibraryDependencyResolverTest::libraryData
- 9 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',
],
],
];