You are here

public function AssetInjectorInterface::isActive in Asset Injector 8

Checks if the theme & page settings are appropriate for the given page.

Return value

bool If the asset is enabled & applicable to current page.

1 method overrides AssetInjectorInterface::isActive()
AssetInjectorBase::isActive in src/Entity/AssetInjectorBase.php
Checks if the theme & page settings are appropriate for the given page.

File

src/AssetInjectorInterface.php, line 18

Class

AssetInjectorInterface
Provides an interface for defining Asset Injector entities.

Namespace

Drupal\asset_injector

Code

public function isActive();