Closed (fixed)
Project:
Seven
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2025 at 11:47 UTC
Updated:
9 Nov 2025 at 14:34 UTC
Jump to comment: Most recent
theme_get_setting() is deprecated in Drupal 11.3. Instead, the new Drupal\Core\Extension\ThemeSettingsProvider service should be used.
This means that the following code needs to be changed.
$form['seven_settings']['enable_block_contextual_links'] = [
'#type' => 'checkbox',
'#title' => t('Enable contextual links for blocks'),
'#default_value' => theme_get_setting('enable_block_contextual_links'),
];
Change the code which calls theme_get_setting(). For code that works either before or after Drupal 11.3, see DeprecationHelper helps modules support multiple versions of core.
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
Comment #3
avpadernoComment #5
avpaderno