FluidTYPO3\Flux\FluxPackage::isFeatureEnabled PHP Method

isFeatureEnabled() public method

Asserts whether or not the feature is enabled for this FluxPackage.
public isFeatureEnabled ( string $featureName ) : boolean
$featureName string
return boolean
    public function isFeatureEnabled($featureName)
    {
        return !empty($this->manifest['features']) && in_array($featureName, $this->manifest['features']);
    }