Class: Alchemy::Configurations::AdminComponents
- Inherits:
-
Alchemy::Configuration
- Object
- Alchemy::Configuration
- Alchemy::Configurations::AdminComponents
- Defined in:
- lib/alchemy/configurations/admin_components.rb
Overview
Admin Component Registry
Overridable admin ViewComponents, keyed by role. Extensions can swap a component for their own by assigning a different class name in an initializer:
Alchemy.config.admin_components. =
"MyEngine::Admin::CustomPublishButton"
Core renders these through the registry instead of referencing the class directly, so the swap takes effect everywhere the component is used.
Method Summary
Methods inherited from Alchemy::Configuration
#==, configuration, defined_configurations, defined_options, defined_values, #fetch, #hash, #initialize, option, #set, #set_from_yaml, #show, #to_h
Constructor Details
This class inherits a constructor from Alchemy::Configuration