public function MicrositeInterface::getHome in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x modules/entity_hierarchy_microsite/src/Entity/MicrositeInterface.php \Drupal\entity_hierarchy_microsite\Entity\MicrositeInterface::getHome()
Gets the home page of the microsite.
Return value
\Drupal\node\NodeInterface|null Home page node, or null if none exists.
1 method overrides MicrositeInterface::getHome()
- Microsite::getHome in modules/
entity_hierarchy_microsite/ src/ Entity/ Microsite.php - Gets the home page of the microsite.
File
- modules/
entity_hierarchy_microsite/ src/ Entity/ MicrositeInterface.php, line 18
Class
- MicrositeInterface
- Defines an interface for microsites.
Namespace
Drupal\entity_hierarchy_microsite\EntityCode
public function getHome();