.. include:: /Includes.rst.txt
.. _fluidtypo3-vhs-condition-context-isfrontend:
============================
condition.context.isFrontend
============================
Condition: Is context Frontend?
===============================
A condition ViewHelper which renders the `then` child if
current context being rendered is FE.
Examples
========
::
Hooray for BE contexts!
Hooray for BE contexts!
Maybe BE, maybe CLI.
Arguments
=========
.. _condition.context.isfrontend_then:
then
----
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Value to be returned if the condition if met.
.. _condition.context.isfrontend_else:
else
----
:aspect:`DataType`
mixed
:aspect:`Required`
false
:aspect:`Description`
Value to be returned if the condition if not met.