public function ViewmodepagePatternInterface::hasRelationship in View Mode Page 3.2.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::hasRelationship()
- 4.0.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::hasRelationship()
Returns whether a relationship exists.
Parameters
string $token: Relationship identifier.
Return value
bool TRUE if the relationship exists, FALSE otherwise.
1 method overrides ViewmodepagePatternInterface::hasRelationship()
- ViewmodepagePattern::hasRelationship in src/
Entity/ ViewmodepagePattern.php - Returns whether a relationship exists.
File
- src/
ViewmodepagePatternInterface.php, line 107
Class
- ViewmodepagePatternInterface
- Provides an interface for defining Viewmodepage pattern entities.
Namespace
Drupal\view_mode_pageCode
public function hasRelationship($token);