Problem/Motivation

I want to implement this module with a commerce product entity and I don't see a problem with doing that since content lock already supports all entity types.

Proposed resolution

Replace the use of NodeInterface with EntityInterface and remove check for entity_type.

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

mhawwari created an issue. See original summary.

mhawwari’s picture

Title: Apply content lock with any entity » Apply layout builder lock with any entity

mhawwari’s picture

Assigned: mhawwari » Unassigned
Status: Active » Needs review

Replaced NodeInterface with EntityInterface and everything is working as intended for me.

  • mhawwari committed 463cfdc6 on 1.1.x
    Issue #3239381: Use layout lock with any entity type
    
rksyravi’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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