The Allowed Options module provides the ability to select allowed options for list_* field types in "Manage form display" settings, hence it allows sharing the same field storage across multiple bundles but with different options.

Screenshots

UI Configuration

Other or similar projects overview

I didn't find modules that provide the same feature.

Drupal core provides hook_options_list_alter() that allows to alter available options in custom code.
This module provides UI to do that.

Other applications reviews

Project link

https://www.drupal.org/project/allowed_options

Git instructions

git clone --branch 8.x-1.x https://git.drupalcode.org/project/allowed_options.git

Comments

Matroskeen created an issue. See original summary.

matroskeen’s picture

Issue summary: View changes
matroskeen’s picture

Issue summary: View changes
matroskeen’s picture

Issue summary: View changes
matroskeen’s picture

Issue summary: View changes
matroskeen’s picture

Issue summary: View changes
avpaderno’s picture

Issue summary: View changes
matroskeen’s picture

Issue summary: View changes
Issue tags: +PAreview: review bonus

Adding "PAReview: review bonus" after reviewing 4 applications.

kporras07’s picture

Status: Needs review » Reviewed & tested by the community

Hi,

I just reviewed this module and the code looks good and also works as expected.

I guess you want to support all versions of D8 and D9 and that's why you have both core and core_version_requirements in the .info.yml file. If that's the case, it's good :) If not, you probably want to remove the core key.

There's no module duplication or licensing issues. Code doesn't seem to be exposing any security issues so I'm marking this as RTBC.

avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

matroskeen’s picture

Thanks!

Status: Fixed » Closed (fixed)

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