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)
];
}