You are here

public function PathautoPatternInterface::hasRelationship in Pathauto 8

Returns whether a relationship exists.

Parameters

string $token: Relationship identifier.

Return value

bool TRUE if the relationship exists, FALSE otherwise.

1 method overrides PathautoPatternInterface::hasRelationship()
PathautoPattern::hasRelationship in src/Entity/PathautoPattern.php
Returns whether a relationship exists.

File

src/PathautoPatternInterface.php, line 73

Class

PathautoPatternInterface
Provides an interface for defining Pathauto pattern entities.

Namespace

Drupal\pathauto

Code

public function hasRelationship($token);