You are here

public function PathautoPattern::getRelationships in Pathauto 8

Returns a list of relationships.

Return value

array[] Keys are context tokens, and values are arrays with the following keys:

  • label (string|null, optional): The human-readable label of this relationship.

Overrides PathautoPatternInterface::getRelationships

1 call to PathautoPattern::getRelationships()
PathautoPattern::getContexts in src/Entity/PathautoPattern.php
Returns the contexts of this pattern.

File

src/Entity/PathautoPattern.php, line 288

Class

PathautoPattern
Defines the Pathauto pattern entity.

Namespace

Drupal\pathauto\Entity

Code

public function getRelationships() {
  return $this->relationships;
}