You are here

public function SalesforceMappingFieldPluginInterface::checkFieldMappingDependency in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php \Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface::checkFieldMappingDependency()

On dependency removal, determine if this plugin needs to be removed.

Parameters

array $dependencies: Dependencies, as provided to ConfigEntityInterface::onDependencyRemoval.

Return value

bool TRUE if the field should be removed, otherwise false.

1 method overrides SalesforceMappingFieldPluginInterface::checkFieldMappingDependency()
SalesforceMappingFieldPluginBase::checkFieldMappingDependency in modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php
On dependency removal, determine if this plugin needs to be removed.

File

modules/salesforce_mapping/src/SalesforceMappingFieldPluginInterface.php, line 154

Class

SalesforceMappingFieldPluginInterface
Defines an interface for salesforce mapping plugins.

Namespace

Drupal\salesforce_mapping

Code

public function checkFieldMappingDependency(array $dependencies);