function public function Broken::getCacheTtl

8.x-3.x Broken.php public Broken::getCacheTtl($type)

Retrieves the cache time-to-live (TTL) value.

Parameters

string $type: The type of cache TTL value. Can be one of the following types:

If an invalid type was specified, the resulting TTL value will be 0.

Return value

int The cache TTL value, in seconds.

Overrides ProviderBase::getCacheTtl

Class

Broken
Broken CDN Provider instance.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/Broken.php (line 29)

public function getCacheTtl($type) {
  return static::TTL_NEVER;
}