You are here

private function HtmlResponseAttachmentsProcessor::processScripts in Cookie Content Blocker 8

Processes js assets and creates output for the 'scripts' variable.

@noinspection PhpUnusedPrivateMethodInspection

Return value

array The output for the 'styles' variable.

File

src/Render/HtmlResponseAttachmentsProcessor.php, line 305

Class

HtmlResponseAttachmentsProcessor
Processes attachments of HTML responses.

Namespace

Drupal\cookie_content_blocker\Render

Code

private function processScripts() : array {
  return $this
    ->renderAssetCollection($this
    ->getJsAssetCollection('header'), $this->jsCollectionRenderer);
}