Config::getOriginal

public function Config::getOriginal

public Config::getOriginal($key = '', $apply_overrides = TRUE)

Gets original data from this configuration object.

Original data is the data as it is immediately after loading from configuration storage before any changes. If this is a new configuration object it will be an empty array.

Parameters

string $key: A string that maps to a key within the configuration data.

bool $apply_overrides: Apply any overrides to the original data. Defaults to TRUE.

Return value

mixed The data that was requested.

See also

\Drupal\Core\Config\Config::get(