public function ViewmodepagePatternInterface::hasRelationship in View Mode Page 4.0.x
Same name and namespace in other branches
- 8.3 src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::hasRelationship()
- 3.2.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);