public function ControllerBase::__construct in Social Post 8.2
Same name and namespace in other branches
- 3.x src/Controller/ControllerBase.php \Drupal\social_post\Controller\ControllerBase::__construct()
ControllerBase constructor.
Parameters
\Drupal\social_post\Entity\Controller\SocialPostListBuilder $list_builder: The Social Post entity list builder.
1 call to ControllerBase::__construct()
- OAuth2ControllerBase::__construct in src/
Controller/ OAuth2ControllerBase.php - SocialAuthControllerBase constructor.
1 method overrides ControllerBase::__construct()
- OAuth2ControllerBase::__construct in src/
Controller/ OAuth2ControllerBase.php - SocialAuthControllerBase constructor.
File
- src/
Controller/ ControllerBase.php, line 26
Class
- ControllerBase
- Controller base for Social Post implementers.
Namespace
Drupal\social_post\ControllerCode
public function __construct(SocialPostListBuilder $list_builder) {
$this->listBuilder = $list_builder;
}