public function ConfigDataCollector::hasXCache

Returns true if XCache is enabled.

Return value

Boolean true if XCache is enabled, false otherwise

1 call to ConfigDataCollector::hasXCache()
ConfigDataCollector::hasAccelerator in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php
Returns true if any accelerator is enabled.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php, line 160

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function hasXCache() {
  return $this->data['xcache_enabled'];
}