You are here

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

React when the binding is added to an index.

Parameters

string $id: The link's plugin ID, sanitized to prevent collisions.

\Drupal\drupalmoduleupgrader\Routing\LinkIndex $index: The link index.

File

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

Class

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

Namespace

Drupal\drupalmoduleupgrader\Routing\LinkBinding

Code

public function onIndexed($id, LinkIndex $index) {
  $this->id = $id;
  $this->index = $index;
}