You are here

public function SalesforceMappingInterface::checkTriggers in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::checkTriggers()
  2. 8.3 modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::checkTriggers()

Checks if mapping has any of the given triggers.

Parameters

array $triggers: Collection of SALESFORCE_MAPPING_SYNC_* constants from MappingConstants.

Return value

bool TRUE if any of the given $triggers are enabled for this mapping.

See also

\Drupal\salesforce_mapping\MappingConstants

1 method overrides SalesforceMappingInterface::checkTriggers()
SalesforceMapping::checkTriggers in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Checks if mapping has any of the given triggers.

File

modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php, line 137

Class

SalesforceMappingInterface
Mapping between Drupal and Salesforce records.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function checkTriggers(array $triggers);