You are here

constant LIVECHAT_VISIBILITY_SYSTEM_PATHS in LiveChat 8

Same name and namespace in other branches
  1. 8.2 livechat.module \LIVECHAT_VISIBILITY_SYSTEM_PATHS
  2. 7 livechat.module \LIVECHAT_VISIBILITY_SYSTEM_PATHS

System paths that LiveChat can be set to always exclude.

@TODO: Need to test. Maybe need to add trailing slash to path.

2 uses of LIVECHAT_VISIBILITY_SYSTEM_PATHS
LiveChatSettingsForm::buildForm in src/Form/LiveChatSettingsForm.php
Form constructor.
livechat_check_visibility in ./livechat.module
Checks whether LiveChat should be visible on a path, according to settings.

File

./livechat.module, line 35
LiveChat module.

Code

const LIVECHAT_VISIBILITY_SYSTEM_PATHS = "batch\nfile/ajax/*\nsystem/ajax\nadmin_menu/*\njs/admin_menu/*";