Extend and add field protection functions.

Created on 30 April 2023, over 1 year ago

Problem/Motivation

Rather than create fields programmatically - https://mglaman.dev/blog/creating-fields-programmatically-and-not-throug... - extend this module to give protection to fields which have a custom prefix. This allows people with permission to enable/disable the field prefix and whether the prefixed fields are editable.

Proposed resolution

Additional UI to support enabling/disabling the field prefix and protection for prefixed fields.

Remaining tasks

Review & further testing. Create test cases.

User interface changes

Add new boolean fields.

API changes

N/A

Data model changes

Add some settings.

Feature request
Status

Active

Version

1.2

Component

Code

Created by

🇦🇺Australia singularo Adelaide, AUS

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

Comments & Activities

  • Issue created by @singularo
  • @singularo opened merge request.
  • 🇦🇺Australia singularo Adelaide, AUS

    Adding the composer.json means its now possible to include the branch version with changes like:

    "repositories": [
    {
    "type": "composer",
    "url": "https://packages.drupal.org/8",
    "exclude": [
    "drupal/field_prefix"
    ]
    },
    [other things here]
    ],
    "require": {
    [other things here]
    "drupal/field_prefix": "dev-3357303-extend-and-add"
    [other things here]
    }

Production build 0.71.5 2024