interface ConfigRewriterInterface in Configuration Rewrite 8
Same name and namespace in other branches
- 8.2 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.
*/
public const CONFIG_REWRITE_DIRECTORY = 'config/rewrite';
/**
* Rewrites module config.
*
* @param $module
* The name of a module (without the .module extension).
*/
public function rewriteModuleConfig($module);
/**
* @param array $original_config
* @param array $rewrite
* @param string $config_name
* @param string $extensionName
*
* @return array
*/
public function rewriteConfig($original_config, $rewrite, $config_name, $extensionName);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigRewriterInterface:: |
public | constant | Extension sub-directory containing default configuration for installation. | |
ConfigRewriterInterface:: |
public | function | 1 | |
ConfigRewriterInterface:: |
public | function | Rewrites module config. | 1 |