Skip to content

Tjackson2113/issue 1139 gin set toolbar style to vertical#159

Closed
tjackson2113 wants to merge 16 commits into
4.xfrom
tjackson2113/issue-1139-gin-set-toolbar-style-to-vertical
Closed

Tjackson2113/issue 1139 gin set toolbar style to vertical#159
tjackson2113 wants to merge 16 commits into
4.xfrom
tjackson2113/issue-1139-gin-set-toolbar-style-to-vertical

Conversation

@tjackson2113

Copy link
Copy Markdown
Contributor

/**

  • Switch Gin to use the classic (core) toolbar instead of experimental.
    */
    function illinois_framework_core_update_9951() {
    // Ensure core toolbar module is enabled.
    if (!\Drupal::moduleHandler()->moduleExists('toolbar')) {
    \Drupal::service('module_installer')->install(['toolbar']);
    }
    // Update Gin configuration.
    $config = \Drupal::configFactory()->getEditable('gin.settings');
    $config->set('classic_toolbar', TRUE);
    // Optional: explicitly disable experimental toolbar if present.
    if ($config->get('enable_gin_toolbar') !== NULL) {
    $config->set('enable_gin_toolbar', FALSE);
    }
    $config->save(TRUE);
    }

switches Gin Toolbar settings to Classic as our standard, disables the experimental as well as ensuring the Gin toolbar dependency, Toolbar, is installed.

Why my history is all wrecked, beyond me today. This should not have 16 commits involved; working through why.

@tjackson2113 tjackson2113 linked an issue Mar 6, 2026 that may be closed by this pull request
@trubach

trubach commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Closing, PR #162 is replacing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants