theme_get_registry

theme_get_registry($complete = TRUE) Gets the theme registry. Parameters bool $complete: Optional boolean to indicate whether to return the complete theme registry array or an instance of the Drupal\Core\Utility\ThemeRegistry class. If TRUE, the complete theme registry array will be returned. This is useful if you want to foreach over the whole registry, use array_* functions or inspect it in a debugger. If FALSE, an instance of the Drupal\Core\Utility\ThemeRegistry class will be returned, thi

theme_get_setting

theme_get_setting($setting_name, $theme = NULL) Retrieves a setting for the current theme or for a given theme. The final setting is obtained from the last value found in the following sources: the saved values from the global theme settings form the saved values from the theme's settings form To only retrieve the default global theme setting, an empty string should be given for $theme. Parameters $setting_name: The name of the setting to be retrieved. $theme: The name of a given theme; defa

ThemeSettingsForm::validateForm

public ThemeSettingsForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/system/src/Form/ThemeSettingsForm.php, line 344 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\syst

ThemeSettingsForm::getFormId

public ThemeSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/system/src/Form/ThemeSettingsForm.php, line 84 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code public function getFormId() { return 'system_theme_settings'; }

ThemeSettingsForm::submitForm

public ThemeSettingsForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/system/src/Form/ThemeSettingsForm.php, line 411 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\sy

ThemeSettingsForm::getEditableConfigNames

protected ThemeSettingsForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/system/src/Form/ThemeSettingsForm.php, line 91 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code pro

ThemeSettingsForm::validatePath

protected ThemeSettingsForm::validatePath($path) Helper function for the system_theme_settings form. Attempts to validate normal system paths, paths relative to the public files directory, or stream wrapper URIs. If the given path is any of the above, returns a valid path or URI that the theme system can display. Parameters string $path: A path relative to the Drupal root or to the public files directory, or a stream wrapper URI. Return value mixed A valid path that can be displayed through t

ThemeSettingsForm::$mimeTypeGuesser

The MIME type guesser. Type: \Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface File core/modules/system/src/Form/ThemeSettingsForm.php, line 40 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code protected $mimeTypeGuesser;

ThemeSettingsForm::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/Form/ThemeSettingsForm.php, line 26 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code protected $moduleHandler;

ThemeSettingsForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/system/src/Form/ThemeSettingsForm.php, line 33 Class ThemeSettingsForm Displays theme configuration for entire site and individual themes. Namespace Drupal\system\Form Code protected $themeHandler;