You are here

public function ViewmodepagePatternInterface::hasRelationship in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::hasRelationship()
  2. 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_page

Code

public function hasRelationship($token);