Motivation

For making Drupal site templates, it would be useful to trigger component registration via config entities.

Proposed resolution

Add config actions like we have drush commands.

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

fago created an issue. See original summary.

fago’s picture

Title: Add config actions for component registration » Auto-register components for lupus CSR themes

A config action does not suit very well, since there is no suiting config to apply it on really.
Generally, it would make sense to auto-register the components when a lupus-csr with component-index is installed. So let's do that, this solves the recipe use-case as well.

For the use-case of decoupled frontends + registering components it makes sense to expose a config action from lupus-decoupled and/or suggest registration when changing the frontend url. This deserves its own issue.

fago’s picture

Status: Active » Needs review

  • fago committed 4d09b292 on 1.x
    feat: #3581508 Auto-register components for lupus CSR themes
    
    By: fago
    
fago’s picture

Status: Needs review » Fixed

works good, merged.

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.

Status: Fixed » Closed (fixed)

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