Problem/Motivation

Follow up from #3209982: Missing content_lock.api.php

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

smustgrave created an issue. See original summary.

alexpott’s picture

Title: Turn hook_content_lock_release into an event » Turn hook_content_lock_locked and hook_content_lock_release into events
vensires’s picture

Issue tags: +GreeceSpringSprint2024
astonvictor’s picture

Version: 8.x-2.x-dev » 3.x-dev

astonvictor changed the visibility of the branch 3436549-turn-hookcontentlocklocked-and to hidden.

astonvictor’s picture

Status: Active » Needs review

Created two new events (ContentLockLockedEvent & ContentLockReleaseEvent) and removed old hooks.
For new events, I used the same arguments as we had.

smustgrave’s picture

Left some comments on MR.

astonvictor’s picture

good point.
thanks

astonvictor’s picture

Status: Needs review » Fixed
vensires’s picture

Issue tags: -GreeceSpringSprint2024

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.