You are here

public function HierarchyManagerInterface::hierarchySaveNode in Entity Reference Hierarchy 8

Process a list of entity_hierarchy parents in preparation for writing to the database. No permission checking is done here. Each parent is written individually using HierarchyManager::hierarchyRecordSave.

Parameters

\Drupal\node\NodeInterface $node: The node object containing the list of parents to process.

See also

HierarchyManager::hierarchyRecordSave

1 method overrides HierarchyManagerInterface::hierarchySaveNode()
HierarchyManager::hierarchySaveNode in src/HierarchyManager.php
Process a list of entity_hierarchy parents in preparation for writing to the database. No permission checking is done here. Each parent is written individually using HierarchyManager::hierarchyRecordSave.

File

src/HierarchyManagerInterface.php, line 123
Contains \Drupal\entity_hierarchy\HierarchyManagerInterface.

Class

HierarchyManagerInterface
Provides an interface defining a hierarchy manager.

Namespace

Drupal\entity_hierarchy

Code

public function hierarchySaveNode(&$node);