public function ViewmodepagePatternInterface::getRelationships in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::getRelationships()
- 3.2.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::getRelationships()
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 ViewmodepagePatternInterface::getRelationships()
- ViewmodepagePattern::getRelationships in src/
Entity/ ViewmodepagePattern.php - Returns a list of relationships.
File
- src/
ViewmodepagePatternInterface.php, line 157
Class
- ViewmodepagePatternInterface
- Provides an interface for defining Viewmodepage pattern entities.
Namespace
Drupal\view_mode_pageCode
public function getRelationships();