IfHasStateViewHelper extends AbstractConditionViewHelper
Check if the given provider for the current user has the requested state set
Table of Contents
Methods
- initializeArguments() : void
- verdict() : bool
Methods
initializeArguments()
public
initializeArguments() : void
verdict()
public
static verdict(array<string|int, mixed> $arguments, RenderingContextInterface $renderingContext) : bool
Parameters
- $arguments : array<string|int, mixed>
- $renderingContext : RenderingContextInterface