You are here

public function TeamMemberRoleStorage::__construct in Apigee Edge 8

TeamMemberRoleStorage constructor.

Parameters

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

\Drupal\Core\Database\Connection $database: The database connection to be used.

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend to be used.

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

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

\Drupal\apigee_edge_teams\TeamMembershipManagerInterface $team_membership_manager: The team membership manager service.

\Psr\Log\LoggerInterface $logger: The logger.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

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

Overrides SqlContentEntityStorage::__construct

File

modules/apigee_edge_teams/src/Entity/Storage/TeamMemberRoleStorage.php, line 87

Class

TeamMemberRoleStorage
Entity storage class for team member role entities.

Namespace

Drupal\apigee_edge_teams\Entity\Storage

Code

public function __construct(EntityTypeInterface $entity_type, Connection $database, EntityFieldManagerInterface $entity_field_manager, CacheBackendInterface $cache, LanguageManagerInterface $language_manager, MemoryCacheInterface $memory_cache, TeamMembershipManagerInterface $team_membership_manager, LoggerInterface $logger, EntityTypeBundleInfoInterface $entity_type_bundle_info = NULL, EntityTypeManagerInterface $entity_type_manager = NULL) {
  parent::__construct($entity_type, $database, $entity_field_manager, $cache, $language_manager, $memory_cache, $entity_type_bundle_info, $entity_type_manager);
  $this->teamMembershipManager = $team_membership_manager;
  $this->logger = $logger;
}