public function CacheWarmerInterface::isOptional

Checks whether this warmer is optional or not.

Optional warmers can be ignored on certain conditions.

A warmer should return true if the cache can be generated incrementally and on-demand.

Return value

Boolean true if the warmer is optional, false otherwise

2 methods override CacheWarmerInterface::isOptional()

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerInterface.php, line 31

Class

CacheWarmerInterface
Interface for classes able to warm up the cache.

Namespace

Symfony\Component\HttpKernel\CacheWarmer

Code

public function isOptional();