public function ViewmodepagePattern::removeRelationship in View Mode Page 8.3
Same name and namespace in other branches
- 4.0.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::removeRelationship()
- 3.2.x src/Entity/ViewmodepagePattern.php \Drupal\view_mode_page\Entity\ViewmodepagePattern::removeRelationship()
Removes a relationship.
Parameters
string $token: Relationship identifier.
Return value
$this
Overrides ViewmodepagePatternInterface::removeRelationship
File
- src/
Entity/ ViewmodepagePattern.php, line 372
Class
- ViewmodepagePattern
- Defines the Viewmodepage pattern entity.
Namespace
Drupal\view_mode_page\EntityCode
public function removeRelationship($token) {
unset($this->relationships[$token]);
return $this;
}