You are here

public static function SocialBulkGroupInvitation::create in Open Social 10.2.x

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/modules/social_group_invite/src/Form/SocialBulkGroupInvitation.php \Drupal\social_group_invite\Form\SocialBulkGroupInvitation::create()
  2. 10.3.x modules/social_features/social_group/modules/social_group_invite/src/Form/SocialBulkGroupInvitation.php \Drupal\social_group_invite\Form\SocialBulkGroupInvitation::create()
  3. 10.0.x modules/social_features/social_group/modules/social_group_invite/src/Form/SocialBulkGroupInvitation.php \Drupal\social_group_invite\Form\SocialBulkGroupInvitation::create()
  4. 10.1.x modules/social_features/social_group/modules/social_group_invite/src/Form/SocialBulkGroupInvitation.php \Drupal\social_group_invite\Form\SocialBulkGroupInvitation::create()

File

modules/social_features/social_group/modules/social_group_invite/src/Form/SocialBulkGroupInvitation.php, line 156

Class

SocialBulkGroupInvitation
Class SocialBulkGroupInvitation.

Namespace

Drupal\social_group_invite\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('current_route_match'), $container
    ->get('entity_type.manager'), $container
    ->get('tempstore.private'), $container
    ->get('logger.factory'), $container
    ->get('messenger'), $container
    ->get('group.membership_loader'), $container
    ->get('ginvite.invitation_loader'), $container
    ->get('plugin.manager.group_content_enabler'), $container
    ->get('config.factory'), $container
    ->get('token'));
}