Log in
Interface

PlaceholderInterface

Magento\Config\Model\Placeholder\PlaceholderInterface

What it does

This interface defines the contract for handling configuration placeholders in Magento 2.

Developers implement this interface to create placeholder generators that can convert configuration values into placeholder strings (for storage) and restore them back to actual values (for use), enabling dynamic configuration management across different scopes and environments.

Public Methods

  • generate()
  • restore()
  • isApplicable()