You are here

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

Returns the Drupal 7 route in this binding.

Return value

\Drupal\drupalmoduleupgrader\Routing\Drupal7\RouteWrapper

3 calls to LinkBinding::getSource()
LinkBinding::build in src/Routing/LinkBinding/LinkBinding.php
Builds the link definition.
LocalTaskLinkBinding::build in src/Routing/LinkBinding/LocalTaskLinkBinding.php
Builds the link definition.
MenuLinkBinding::build in src/Routing/LinkBinding/MenuLinkBinding.php
Builds the link definition.

File

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

Class

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

Namespace

Drupal\drupalmoduleupgrader\Routing\LinkBinding

Code

public function getSource() {
  return $this->source;
}