Refactor / clean up the hook.

Created on 11 March 2024, 9 months ago

Problem/Motivation

The function node_edit_protection_form_alter() that is used to include the script has a number of issues.

  • It uses a class attribute to determine if it is a node form. There are better ways to do this.
  • The $form_state is passed by reference - not needed for an object.
  • The $form_id is not used.
  • (and more)

Steps to reproduce

Proposed resolution

Clean this up step by step.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany donquixote

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024