comparison core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
67 * Thrown when a library has no js/css/setting. 67 * Thrown when a library has no js/css/setting.
68 * @throws \UnexpectedValueException 68 * @throws \UnexpectedValueException
69 * Thrown when a js file defines a positive weight. 69 * Thrown when a js file defines a positive weight.
70 */ 70 */
71 public function buildByExtension($extension) { 71 public function buildByExtension($extension) {
72 $libraries = [];
73
74 if ($extension === 'core') { 72 if ($extension === 'core') {
75 $path = 'core'; 73 $path = 'core';
76 $extension_type = 'core'; 74 $extension_type = 'core';
77 } 75 }
78 else { 76 else {