You are here

protected function Http2ServerPushServiceProvider::cssAggregationIsEnabled in HTTP/2 Server Push 8

Return value

bool

1 call to Http2ServerPushServiceProvider::cssAggregationIsEnabled()
Http2ServerPushServiceProvider::register in src/Http2ServerPushServiceProvider.php
Registers services to the container.

File

src/Http2ServerPushServiceProvider.php, line 29

Class

Http2ServerPushServiceProvider

Namespace

Drupal\http2_server_push

Code

protected function cssAggregationIsEnabled() {
  return BootstrapConfigStorageFactory::get()
    ->read('system.performance')['css']['preprocess'] === TRUE;
}