You are here

public function SalesforceMappableEntityTypes::__construct in Salesforce Suite 5.0.x

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

Constructs a new SalesforceMappableEntities object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.

File

modules/salesforce_mapping/src/SalesforceMappableEntityTypes.php, line 19

Class

SalesforceMappableEntityTypes
Mappable entity types constructor.

Namespace

Drupal\salesforce_mapping

Code

public function __construct(EntityTypeManagerInterface $entity_manager) {
  $this->entityTypeManager = $entity_manager;
}