function _system_default_theme_features

Same name and namespace in other branches
  1. 11.x core/includes/theme.inc \_system_default_theme_features()
  2. 10 core/includes/theme.inc \_system_default_theme_features()
  3. 9 core/includes/theme.inc \_system_default_theme_features()
  4. 8.9.x core/includes/theme.inc \_system_default_theme_features()
  5. 7.x modules/system/system.module \_system_default_theme_features()

Returns an array of default theme features.

Deprecated

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Extension\ThemeSettingsProvider::DEFAULT_THEME_FEATURES instead.

See also

https://www.drupal.org/node/3554127

File

core/includes/theme.inc, line 75

Code

function _system_default_theme_features() {
  @trigger_error('_system_default_theme_features() is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use \\Drupal\\Core\\Extension\\ThemeSettingsProvider::DEFAULT_THEME_FEATURES instead. See https://www.drupal.org/node/3554127', E_USER_DEPRECATED);
  return ThemeSettingsProvider::DEFAULT_THEME_FEATURES;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.