Drupal 8  8.0.2
ConfigRenameEvent Class Reference
Inheritance diagram for ConfigRenameEvent:

Public Member Functions

 __construct (Config $config, $old_name)
 
 getOldName ()
 
- Public Member Functions inherited from ConfigCrudEvent
 __construct (Config $config)
 
 getConfig ()
 
 isChanged ($key)
 

Protected Attributes

 $oldName
 
- Protected Attributes inherited from ConfigCrudEvent
 $config
 

Detailed Description

Configuration event fired when renaming a configuration object.

Constructor & Destructor Documentation

__construct ( Config  $config,
  $old_name 
)

Constructs the config rename event.

Parameters
\Drupal\Core\Config\Config$configThe configuration that has been renamed.
string$old_nameThe old configuration object name.

References Drupal\config().

Here is the call graph for this function:

Member Function Documentation

getOldName ( )

Gets the old configuration object name.

Returns
string The old configuration object name.

Referenced by LanguageConfigFactoryOverride\onConfigRename().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: