Метод createDefaultCategoryIfNotExist

public

Сигнатура метода

public function createDefaultCategoryIfNotExist(): Category

Возвращает: Category

Описание

Get default category if it exists. Creates new default category if there is none and returns it.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/Service/Factory.php
Расположение метода в файле
Строки 1335–1366

Исходный код

PHP