public function HierarchyOutlineStorage::hierarchyRecordDelete in Entity Reference Hierarchy 8
Save a entity_hierarchy record.
Overrides HierarchyOutlineStorageInterface::hierarchyRecordDelete
File
- src/
HierarchyOutlineStorage.php, line 121 - Definition of Drupal\entity_hierarchy\HierarchyOutlineStorage.
Class
- HierarchyOutlineStorage
- Defines a storage class for hierarchies outline.
Namespace
Drupal\entity_hierarchyCode
public function hierarchyRecordDelete($hid) {
db_delete('entity_hierarchy')
->condition('hid', $hid)
->execute();
}