public function TeamPermissionsForm::__construct in Apigee Edge 8
TeamPermissionsForm constructor.
Parameters
\Drupal\apigee_edge_teams\TeamPermissionHandlerInterface $team_permissions: The team permission handler.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
apigee_edge_teams/ src/ Form/ TeamPermissionsForm.php, line 63
Class
- TeamPermissionsForm
- Provides a form for configuring team-level permissions for all teams.
Namespace
Drupal\apigee_edge_teams\FormCode
public function __construct(TeamPermissionHandlerInterface $team_permissions, EntityTypeManagerInterface $entity_type_manager) {
$this->teamPermissionHandler = $team_permissions;
$this->entityTypeManager = $entity_type_manager;
}