public function TeamViewBuilder::__construct in Apigee Edge 8
TeamViewBuilder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Config\Config $config: The 'apigee_edge_teams.team_settings' config.
\Drupal\Core\Theme\Registry|null $theme_registry: The theme registry.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface|null $entity_display_repository: The entity display repository.
Overrides EntityViewBuilder::__construct
File
- modules/
apigee_edge_teams/ src/ Entity/ TeamViewBuilder.php, line 61
Class
- TeamViewBuilder
- Entity view builder for team entities.
Namespace
Drupal\apigee_edge_teams\EntityCode
public function __construct(EntityTypeInterface $entity_type, EntityRepositoryInterface $entity_repository, LanguageManagerInterface $language_manager, Config $config, Registry $theme_registry = NULL, EntityDisplayRepositoryInterface $entity_display_repository = NULL) {
parent::__construct($entity_type, $entity_repository, $language_manager, $theme_registry, $entity_display_repository);
$this->config = $config;
}