If viewing in the CMS items filtered by locale will always be visible, but in the frontend will be filtered
as expected.
For the sake of unit tests Fluent assumes a frontend execution environment.
public static is_frontend ( boolean $ignoreController = false ) : boolean | ||
$ignoreController | boolean | Flag to indicate whether the current controller should be ignored, and detection should be performed by inspecting the URL. Used for testing. Defaults to false. |
return | boolean | Flag indicating if the translation should act on the frontend |