Problem/Motivation

Allow disabling (status) advertisement placements. They should then only appear in the admin list, but nowhere else.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ad-3574333

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

anybody created an issue. See original summary.

anybody’s picture

Status: Active » Needs work
anybody’s picture

@lrwebks: Please finish. I think you already did this somewhere else.
Please note my draft and that enable / disable is controlled by link templates in core and status is already inherited from ConfigEntityBase

Maybe you still need to add the routing.yml entries and possibly other things?
Do you remember where we did that already?

anybody’s picture

Assigned: lrwebks » grevil

@grevil can you please finish this, we'll need this soon and shouldn't be too hard IMHO.

grevil made their first commit to this issue’s fork.

grevil’s picture

Assigned: grevil » Unassigned
Status: Needs work » Needs review

Alright, that should be it. I orientated myself on Block regarding the disable / enable logic (using a Controller instead of dedicated Forms).

grevil’s picture

Title: Allow disabling (status) advertisement placements » Allow disabling, duplicating advertisement placements
Status: Needs review » Needs work

Whoops, forgot the duplicate request.

grevil’s picture

Status: Needs work » Needs review

Ok, now all is done.

anybody’s picture

Status: Needs review » Fixed

Works like a charm!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • anybody committed 39b6905b on 11.x
    feat: #3574333 Allow disabling (status) advertisement placements  By:...
grevil’s picture

Status: Fixed » Closed (fixed)

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