You are here

public function HierarchyOutlineStorageInterface::update in Entity Reference Hierarchy 8

Updates hierarchy reference for links that were moved between hierarchies.

Parameters

int $nid: The nid of the hierarchy entry to be updated.

array $fields: The array of fields to be updated.

Return value

mixed The number of rows matched by the update query.

1 method overrides HierarchyOutlineStorageInterface::update()
HierarchyOutlineStorage::update in src/HierarchyOutlineStorage.php
Updates hierarchy reference for links that were moved between hierarchies.

File

src/HierarchyOutlineStorageInterface.php, line 52
Contains \Drupal\entity_hierarchy\HierarchyOutlineStorageInterface.

Class

HierarchyOutlineStorageInterface
Defines a common interface for hierarchy outline storage classes.

Namespace

Drupal\entity_hierarchy

Code

public function update($nid, $fields);