Log in
Model

SingleFile

Magento\Theme\Model\Theme\SingleFile

What it does

This service model manages single custom files (like custom CSS) within a Magento theme's customization layer.

Developers use it to programmatically create, update, or delete custom theme files, typically when allowing administrators to add custom styling or content to a theme without modifying core theme files.

Public Methods

  • update()