You are here

public function LinkBinding::__construct in Drupal 7 to 8/9 Module Upgrader 8

Constructs a LinkBinding object.

1 call to LinkBinding::__construct()
LocalTaskLinkBinding::__construct in src/Routing/LinkBinding/LocalTaskLinkBinding.php
Constructs a LinkBinding object.
1 method overrides LinkBinding::__construct()
LocalTaskLinkBinding::__construct in src/Routing/LinkBinding/LocalTaskLinkBinding.php
Constructs a LinkBinding object.

File

src/Routing/LinkBinding/LinkBinding.php, line 41

Class

LinkBinding
Represents a binding between a Drupal 7 route and a Drupal 8 one.

Namespace

Drupal\drupalmoduleupgrader\Routing\LinkBinding

Code

public function __construct(Drupal7Route $source, Drupal8Route $destination) {
  $this->source = $source;
  $this->destination = $destination;
}