Arguments of hook_per_node is not correctly send

Created on 16 June 2022, almost 3 years ago
Updated 28 April 2023, almost 2 years ago

Problem/Motivation

The module invoke all of hook per_node send $settings directly inside $arguments. So each entries of settings are send as arguments. Also we got unknow/dynamic number of arguments when implementing the hook.
In more the object node is not send inside argument.

Steps to reproduce

Implements hook_per_node

Proposed resolution

Send in array $settings and $node when the hook is invoked

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France musa.thomas France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024