function public function ProviderInterface::getCacheTtl

8.x-3.x ProviderInterface.php public ProviderInterface::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.

Class

ProviderInterface
ProviderInterface.

Namespace

Drupal\bootstrap\Plugin\Provider

Source src/Plugin/Provider/ProviderInterface.php (line 121)

public function getCacheTtl($type);