public function LazyInterface::isEnabled in Lazy-load 8.3
Is Lazy-load enabled?
Parameters
array $attributes: Element attributes, specifically for the "class".
Return value
bool Returns true if the path is not restricted, and skip class is not set. FALSE otherwise.
1 method overrides LazyInterface::isEnabled()
- Lazy::isEnabled in src/
Lazy.php - Is Lazy-load enabled?
File
- src/
LazyInterface.php, line 36
Class
- LazyInterface
- Interface for Lazy-load service.
Namespace
Drupal\lazyCode
public function isEnabled(array $attributes = []) : bool;