public function LinkInterface::setParent in Colossal Menu 8
Same name and namespace in other branches
- 2.x src/LinkInterface.php \Drupal\colossal_menu\LinkInterface::setParent()
Sets the parent.
Parameters
int $parent: The id of the parent.
Return value
\Drupal\colossal_menu\LinkInterface Return this.
1 method overrides LinkInterface::setParent()
- Link::setParent in src/
Entity/ Link.php - Sets the parent.
File
- src/
LinkInterface.php, line 25
Class
- LinkInterface
- Provides an interface for defining Link entities.
Namespace
Drupal\colossal_menuCode
public function setParent($parent);