• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entitypermstable.php
  • Класс: Bitrix\Crm\EntityPermsTable
  • Вызов: EntityPermsTable::getMap
static function getMap(): array
{
	return [
		(new Fields\IntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete(),
		(new Fields\StringField('ENTITY'))
			->configureSize(20)
			->configureRequired(),
		(new Fields\IntegerField('ENTITY_ID'))
			->configureRequired(),
		(new Fields\StringField('ATTR'))
			->configureSize(30)
			->configureRequired(),
	];
}