public function SocialFollowTagLazyBuilder::__construct in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/SocialFollowTagLazyBuilder.php \Drupal\social_follow_tag\SocialFollowTagLazyBuilder::__construct()
- 10.1.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/SocialFollowTagLazyBuilder.php \Drupal\social_follow_tag\SocialFollowTagLazyBuilder::__construct()
- 10.2.x modules/social_features/social_follow_taxonomy/modules/social_follow_tag/src/SocialFollowTagLazyBuilder.php \Drupal\social_follow_tag\SocialFollowTagLazyBuilder::__construct()
SocialFollowTagLazyBuilder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder.
\Drupal\social_tagging\SocialTaggingService $tagging_service: The tag service.
\Drupal\flag\FlagServiceInterface $flag_service: Flag service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\flag\FlagLinkBuilderInterface $flag_link_builder: The builder for flag links.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
File
- modules/
social_features/ social_follow_taxonomy/ modules/ social_follow_tag/ src/ SocialFollowTagLazyBuilder.php, line 91
Class
- SocialFollowTagLazyBuilder
- Provide service for lazy rendering.
Namespace
Drupal\social_follow_tagCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, FormBuilderInterface $formBuilder, SocialTaggingService $tagging_service, FlagServiceInterface $flag_service, RendererInterface $renderer, FlagLinkBuilderInterface $flag_link_builder, AccountInterface $current_user) {
$this->entityTypeManager = $entity_type_manager;
$this->formBuilder = $formBuilder;
$this->tagService = $tagging_service;
$this->flagService = $flag_service;
$this->renderer = $renderer;
$this->flagLinkBuilder = $flag_link_builder;
$this->currentUser = $current_user;
}