Improve documentation on $is_syncing

Created on 30 May 2021, over 3 years ago
Updated 21 February 2023, almost 2 years ago

Problem/Motivation

I wanted to write an install function which does something with content entities during hook_install when I saw the new is_syncing parameter. I read up on it and the documentation is slightly confusing: "For example, it should not make any changes to configuration objects or entities." this can be read as "(configuration objects) or (any entities)" however the intended meaning is "configuration (objects or entities)". It also feels like it's hanging in the air -- sure, it should not do these changes here but what should it do instead?

Steps to reproduce

Proposed resolution

Remaining tasks

Update the release notes with any improvements accepted. https://www.drupal.org/node/3098920 β†’

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

9.5

Component
BaseΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¨πŸ‡¦Canada Charlie ChX Negyesi 🍁Canada

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