You are here

function _zopim_array_to_string in Zopim Live Chat 8

Converts an array of lines into an text with lines (\n).

Parameters

array $array: Array to convert to text with lines.

Return value

string Text with lines.

2 calls to _zopim_array_to_string()
SettingsForm::buildForm in src/Form/SettingsForm.php
Form constructor.
_zopim_active in ./zopim.module
Check if Zopim Chat widget should be active for the current URL.

File

./zopim.module, line 133

Code

function _zopim_array_to_string($array) {
  return implode("\r\n", $array);
}