public function AccountHeaderBlock::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.2 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.3 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.4 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.5 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.6 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.7 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 8.8 modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 10.3.x modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 10.0.x modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
- 10.2.x modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php \Drupal\social_user\Plugin\Block\AccountHeaderBlock::__construct()
AccountHeaderBlock constructor.
Parameters
array $configuration: The configuration.
string $plugin_id: The plugin id.
mixed $plugin_definition: The plugin definition.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\activity_creator\ActivityNotifications $activity_notifications: The activity creator, activity notifications.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The Entity Type Manager.
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory.
\Drupal\Core\Controller\ControllerResolverInterface $controller_resolver: The controller resolver.
Overrides BlockPluginTrait::__construct
File
- modules/
social_features/ social_user/ src/ Plugin/ Block/ AccountHeaderBlock.php, line 95
Class
- AccountHeaderBlock
- Provides a 'AccountHeaderBlock' block.
Namespace
Drupal\social_user\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ModuleHandlerInterface $module_handler, RendererInterface $renderer, ActivityNotifications $activity_notifications, EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory, ControllerResolverInterface $controller_resolver) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->moduleHandler = $module_handler;
$this->renderer = $renderer;
$this->activityNotifications = $activity_notifications;
$this->entityTypeManager = $entityTypeManager;
$this->configFactory = $configFactory;
$this->controllerResolver = $controller_resolver;
}