public function ActionLinkController::__construct in Flag 8.4
Constructor.
Parameters
\Drupal\flag\FlagServiceInterface $flag: The flag service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
File
- src/
Controller/ ActionLinkController.php, line 45
Class
- ActionLinkController
- Controller responses to flag and unflag action links.
Namespace
Drupal\flag\ControllerCode
public function __construct(FlagServiceInterface $flag, RendererInterface $renderer) {
$this->flagService = $flag;
$this->renderer = $renderer;
}