• Модуль: translate
  • Путь к файлу: ~/bitrix/modules/translate/lib/controller/controller.php
  • Класс: BitrixTranslateControllerController
  • Вызов: Controller::processBeforeAction
protected function processBeforeAction(MainEngineAction $action)
{
	if (parent::processBeforeAction($action))
	{
		if (!MainLoader::includeModule('translate'))
		{
			$this->addError(new MainError('Translate module not installed'));
		}

		return count($this->getErrors()) === 0;
	}

	return true;
}