You are here

public function FlagListsFlagLinkBuilder::__construct in Flag Lists 8

Same name and namespace in other branches
  1. 4.0.x src/FlagListsFlagLinkBuilder.php \Drupal\flag_lists\FlagListsFlagLinkBuilder::__construct()

Constructor.

Parameters

\Drupal\flag\FlagLinkBuilderInterface $link_builder: The original FlagLinkBuilder.

File

src/FlagListsFlagLinkBuilder.php, line 28

Class

FlagListsFlagLinkBuilder
Provides a lazy builder for flag lists flag links.

Namespace

Drupal\flag_lists

Code

public function __construct(FlagLinkBuilderInterface $link_builder) {
  $this->flagLinkBuilder = $link_builder;
}