public function MicrositePluginTrait::setChildOfMicrositeLookup in Entity Reference Hierarchy 8.2
Same name and namespace in other branches
- 3.x modules/entity_hierarchy_microsite/src/Plugin/MicrositePluginTrait.php \Drupal\entity_hierarchy_microsite\Plugin\MicrositePluginTrait::setChildOfMicrositeLookup()
Sets value of NestedSetStorageFactory.
Parameters
\Drupal\entity_hierarchy_microsite\ChildOfMicrositeLookupInterface $childOfMicrositeLookup: Lookup.
Return value
$this
File
- modules/
entity_hierarchy_microsite/ src/ Plugin/ MicrositePluginTrait.php, line 37
Class
- MicrositePluginTrait
- Defines a trait for microsite plugin functionality.
Namespace
Drupal\entity_hierarchy_microsite\PluginCode
public function setChildOfMicrositeLookup(ChildOfMicrositeLookupInterface $childOfMicrositeLookup) {
$this->childOfMicrositeLookup = $childOfMicrositeLookup;
return $this;
}