You are here

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

Returns the link's plugin ID.

Return value

string

File

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

Class

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

Namespace

Drupal\drupalmoduleupgrader\Routing\LinkBinding

Code

public function getIdentifier() {
  return $this->id ?: $this
    ->getDestination()
    ->getIdentifier();
}