Skip to content

Commit

Permalink
[TASK] Rename evaluateCondition() to verdict() for Condition VH in TY…
Browse files Browse the repository at this point in the history
…PO3 13

It seems that verdict() now replaces the old function
  • Loading branch information
einpraegsam committed Oct 31, 2024
1 parent d569c14 commit 9dc853c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
namespace In2code\Lux\ViewHelpers\Condition;

use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractConditionViewHelper;

class IsLuxenterpriseExtensionActivatedViewHelper extends AbstractConditionViewHelper
{
protected static function evaluateCondition($arguments = null): bool
public static function verdict(array $arguments, RenderingContextInterface $renderingContext)
{
return ExtensionManagementUtility::isLoaded('luxenterprise');
}
Expand Down

0 comments on commit 9dc853c

Please sign in to comment.