public function SalesforceMapping::getPluginCollections in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getPluginCollections()
Gets the plugin collections used by this object.
Return value
\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.
Overrides ObjectWithPluginCollectionInterface::getPluginCollections
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 273
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
public function getPluginCollections() {
if (empty($this->field_mappings)) {
return [];
}
return [
'field_mappings' => new DefaultLazyPluginCollection($this
->fieldManager(), $this->field_mappings),
];
}