• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/WebForm/Scenario/DependencyScenario/DependencyExcludingScenario.php
  • Класс: Bitrix\Crm\Service\WebForm\Scenario\DependencyScenario\DependencyExcludingScenario
  • Вызов: DependencyExcludingScenario::getDependencies
public function getDependencies(): array
{
	$dependencyItems = [
		DependencyListItem::of(
			DependencyAction::of('CONTACT_POST', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_PHONE', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_EMAIL', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
		),
		DependencyListItem::of(
			DependencyAction::of('CONTACT_POST', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_PHONE', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_EMAIL', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
		),
		DependencyListItem::of(
			DependencyAction::of('CONTACT_POST', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_PHONE', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
		),
		DependencyListItem::of(
			DependencyAction::of('COMPANY_EMAIL', 'show'),
			DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
		),
	];

	return [
		DependencyItem::of($dependencyItems, 'and', FieldDepGroupTable::TYPE_OR)
	];
}