Plugin: Create an advanced Plugin example that contains a configuration entity

Created on 30 April 2024, 7 months ago
Updated 13 May 2024, 6 months ago

Problem/Motivation

The Plugin example code is good for a basic plugin example, but a plugin with configuration would be infinitely more useful. One that includes:

  • Configuration Entity
  • Schema
  • Documentation of the relationship between the components

Would be awesome!

API changes

Data model changes

✨ Feature request
Status

Active

Version

4.0

Component

Plugin Type Example

Created by

πŸ‡ΊπŸ‡ΈUnited States lhridley

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

Comments & Activities

  • Issue created by @lhridley
  • πŸ‡ΊπŸ‡ΈUnited States lhridley
  • πŸ‡ΊπŸ‡ΈUnited States selwynpolit

    I'm considering implementing this as I work on my plugin chapter of my book. I was thinking about doing a custom field type as they can have config.

    One idea is to create a custom field type for a recipe content type that might have a quantity, unit of measure and ingredient name. It could be potentially be smart enough to use a taxonomy for the unit of measure.Maybe a simpler option would make more sense. Anyone suggestions?

Production build 0.71.5 2024