if (!
isset($this->cid
)) { $this->cid = 'library_info:' .
$this->themeManager->
getActiveTheme()->
getName();
} return $this->cid;
} /**
* {@inheritdoc}
*/
protected function resolveCacheMiss($key) { $this->storage
[$key] =
$this->
getLibraryDefinitions($key);
$this->
persist($key);
return $this->storage
[$key];
} /**
* Returns the library definitions for a given extension.
*
* This also implements libraries-overrides for entire libraries that have
* been specified by the LibraryDiscoveryParser.
*
* @param string $extension
* The name of the extension for which library definitions will be returned.
*
* @return array
* The library definitions for $extension with overrides applied.
*
* @throws \Drupal\Core\Asset\Exception\InvalidLibrariesOverrideSpecificationException
*/