interface ConfigRewriterInterface in Configuration Rewrite 8.2
Same name and namespace in other branches
- 8 src/ConfigRewriterInterface.php \Drupal\config_rewrite\ConfigRewriterInterface
Provides an interface for the ConfigRewriter.
Hierarchy
- interface \Drupal\config_rewrite\ConfigRewriterInterface
Expanded class hierarchy of ConfigRewriterInterface
All classes that implement ConfigRewriterInterface
File
- src/
ConfigRewriterInterface.php, line 8
Namespace
Drupal\config_rewriteView source
interface ConfigRewriterInterface {
/**
* Extension sub-directory containing default configuration for installation.
*/
const CONFIG_REWRITE_DIRECTORY = 'config/rewrite';
/**
* Rewrites module config.
*
* @param $module
* The name of a module (without the .module extension).
*/
public function rewriteModuleConfig($module);
/**
* Returns rewritten configuration.
*
* @param array $original_config
* The original configuration array to rewrite.
* @param array $rewrite
* An array of configuration rewrites.
*
* @return array
* The rewritten config.
*/
public function rewriteConfig($original_config, $rewrite);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigRewriterInterface:: |
constant | Extension sub-directory containing default configuration for installation. | ||
ConfigRewriterInterface:: |
public | function | Returns rewritten configuration. | 1 |
ConfigRewriterInterface:: |
public | function | Rewrites module config. | 1 |