protected static evaluateCondition ( array $arguments = null ) : boolean | ||
$arguments | array | ViewHelper arguments to evaluate the condition for this ViewHelper, allows for flexiblity in overriding this method. |
Résultat | boolean |
protected static function evaluateCondition($arguments = null)
{
$extensionName = $arguments['extensionName'];
$extensionKey = GeneralUtility::camelCaseToLowerCaseUnderscored($extensionName);
$isLoaded = ExtensionManagementUtility::isLoaded($extensionKey);
return true === $isLoaded;
}