You are here

public function SalesforceMappingStorage::__construct in Salesforce Suite 8.3

Constructs a ConfigEntityStorage object.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Component\Uuid\UuidInterface $uuid_service: The UUID service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface|null $memory_cache: The memory cache backend.

Overrides ConfigEntityStorage::__construct

File

modules/salesforce_mapping/src/SalesforceMappingStorage.php, line 54

Class

SalesforceMappingStorage
Class MappedObjectStorage.

Namespace

Drupal\salesforce_mapping

Code

public function __construct($entity_type_id, ConfigFactoryInterface $config_factory, UuidInterface $uuid_service, LanguageManagerInterface $language_manager, EntityManagerInterface $entity_manager) {
  $entity_type = $entity_manager
    ->getDefinition($entity_type_id);
  parent::__construct($entity_type, $config_factory, $uuid_service, $language_manager);
}