thrownewLibraryDefinitionMissingLicenseException(sprintf("Missing license information in library definition for '%s' in %s: it has a remote, but no license.",$id,$library_file));
}
// Assign Drupal's license to libraries that don't have license info.
if(!isset($library['license'])){
$library['license']=array(
'name'=>'GNU-GPL-2.0-or-later',
'url'=>'https://drupal.org/licensing/faq',
'gpl-compatible'=>TRUE,
);
}
foreach(array('js','css')as$type){
// Prepare (flatten) the SMACSS-categorized definitions.
// @todo After Asset(ic) changes, retain the definitions as-is and
* @expectedExceptionMessage Missing license information in library definition for 'no-license-info-but-remote' in core/tests/Drupal/Tests/Core/Asset/library_test_files/licenses_missing_information.libraries.yml: it has a remote, but no license.