You are here

public function HierarchyOutlineStorage::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.

Overrides HierarchyOutlineStorageInterface::delete

File

src/HierarchyOutlineStorage.php, line 87
Definition of Drupal\entity_hierarchy\HierarchyOutlineStorage.

Class

HierarchyOutlineStorage
Defines a storage class for hierarchies outline.

Namespace

Drupal\entity_hierarchy

Code

public function delete($nid) {

  //    return $this->connection->delete('hierarchy')
  //      ->condition('nid', $nid)
  //      ->execute();
}