You are here

protected property LibraryPolicyBuilder::$librarySourcesCache in Content-Security-Policy 8

Static cache of library source information for each extension.

This reduces lookup calls to the database when generating information for an extension, or when retrieving data for multiple libraries in an extension.

Type: array

File

src/LibraryPolicyBuilder.php, line 55

Class

LibraryPolicyBuilder
Service to build policy information for libraries.

Namespace

Drupal\csp

Code

protected $librarySourcesCache;