You are here

public function PathautoPatternInterface::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.
1 method overrides PathautoPatternInterface::getRelationships()
PathautoPattern::getRelationships in src/Entity/PathautoPattern.php
Returns a list of relationships.

File

src/PathautoPatternInterface.php, line 123

Class

PathautoPatternInterface
Provides an interface for defining Pathauto pattern entities.

Namespace

Drupal\pathauto

Code

public function getRelationships();