_node_mass_update_helper

function _node_mass_update_helper

_node_mass_update_helper(NodeInterface $node, array $updates, $langcode = NULL)

Updates individual nodes when fewer than 10 are queued.

Parameters

\Drupal\node\NodeInterface $node: A node to update.

array $updates: Associative array of updates.

string $langcode: (optional) The language updates should be applied to. If none is specified all available languages are processed.

Return value

登录查看完整内容