You are here

public function ConfigurableTrait::confGet in Backup and Migrate 5.0.x

Get a specific value from the configuration.

Parameters

string $key: The configuration object key to retrieve.

Return value

mixed The configuration value.

27 calls to ConfigurableTrait::confGet()
CompressionFilter::afterBackup in src/Core/Filter/CompressionFilter.php
Run on a backup.
ConfigurableTrait::configErrors in src/Core/Config/ConfigurableTrait.php
Get any validation errors in the config.
DBExcludeFilter::beforeDbTableBackup in src/Core/Filter/DBExcludeFilter.php
The 'beforeDbTableBackup' plugin op.
DebugDestination::saveFile in src/Core/Destination/DebugDestination.php
Save a file to the destination.
DirectoryDestination::checkDirectory in src/Core/Destination/DirectoryDestination.php
Check that the directory can be used for backup.

... See full list

File

src/Core/Config/ConfigurableTrait.php, line 165

Class

ConfigurableTrait
A configurable object. Manages injection and access to a config object.

Namespace

Drupal\backup_migrate\Core\Config

Code

public function confGet($key) {
  return $this
    ->config()
    ->get($key);
}