public function TagcloudsPageChunk::__construct in TagCloud 8
Same name and namespace in other branches
- 2.0.x src/Controller/TagcloudsPageChunk.php \Drupal\tagclouds\Controller\TagcloudsPageChunk::__construct()
- 1.0.x src/Controller/TagcloudsPageChunk.php \Drupal\tagclouds\Controller\TagcloudsPageChunk::__construct()
Constructs a BlockContent object.
Parameters
\Drupal\tagclouds\TagServiceInterface $tag_service: The tag service.
\Drupal\tagclouds\CloudBuilderInterface $cloud_builder: The cloud builder.
File
- src/
Controller/ TagcloudsPageChunk.php, line 39
Class
- TagcloudsPageChunk
- Controller routines for user routes.
Namespace
Drupal\tagclouds\ControllerCode
public function __construct(TagServiceInterface $tag_service, CloudBuilderInterface $cloud_builder) {
$this->tagcloudTag = $tag_service;
$this->tagcloudsCloudBuilder = $cloud_builder;
}