public function HierarchyOutlineStorageInterface::delete in Entity Reference Hierarchy 8
Deletes a hierarchy entry.
Parameters
int $nid: Deletes a hierarchy entry.
Return value
mixed Number of deleted hierarchy entries.
1 method overrides HierarchyOutlineStorageInterface::delete()
- HierarchyOutlineStorage::delete in src/
HierarchyOutlineStorage.php - Deletes a hierarchy entry.
File
- src/
HierarchyOutlineStorageInterface.php, line 24 - Contains \Drupal\entity_hierarchy\HierarchyOutlineStorageInterface.
Class
- HierarchyOutlineStorageInterface
- Defines a common interface for hierarchy outline storage classes.
Namespace
Drupal\entity_hierarchyCode
public function delete($nid);