public function ContentHubEntityDependency::setParent in Acquia Content Hub 8
Sets the parent of the dependency.
Parameters
\Drupal\acquia_contenthub\ContentHubEntityDependency $parent: The parent ContentHubEntity.
Return value
$this This Content Hub Entity.
File
- src/
ContentHubEntityDependency.php, line 189
Class
- ContentHubEntityDependency
- Content Hub Dependency Class.
Namespace
Drupal\acquia_contenthubCode
public function setParent(ContentHubEntityDependency $parent) {
$this->parent = $parent;
$this->parent
->appendDependencyChain($this);
return $this;
}