• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/webpacker/loader.php
  • Класс: BitrixMainWebWebPackerLoader
  • Вызов: Loader::getString
public function getString()
{
	$content = $this->getStringJs();
	$attributes = $this->tagAttributes;
	if ($this->skipMoving)
	{
		$attributes['data-skip-moving'] = 'true';
	}
	$attrs = '';
	foreach ($attributes as $key => $value)
	{
		$attrs .= " " . htmlspecialcharsbx($key) . '="'
			. htmlspecialcharsbx($value) . '"';
	}
	return <<
$content

EOD;

}