private function HierarchyManager::hierarchyDeleteRecord in Entity Reference Hierarchy 8
Deletes an existing hierarchy item from the database using the HierarchyOutlineStorage class.
Parameters
int $hid: The hierarchy id to be deleted from the database.
Return value
mixed Todo: figure out what's being returned
See also
HierarchyOutlineStorage::hierarchyRecordDelete
hierarchyRecordSave
1 call to HierarchyManager::hierarchyDeleteRecord()
- HierarchyManager::hierarchyRecordSave in src/
HierarchyManager.php - Prepare an individual item to be added/removed to the database.
File
- src/
HierarchyManager.php, line 708 - Contains \Drupal\entity_hierarchy\HierarchyManager.
Class
- HierarchyManager
- Defines a hierarchy manager.
Namespace
Drupal\entity_hierarchyCode
private function hierarchyDeleteRecord($hid) {
return $this->hierarchyOutlineStorage
->hierarchyRecordDelete($hid);
}