You are here

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

Get the configuration object for this item.

Return value

\Drupal\backup_migrate\Core\Config\ConfigInterface

File

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

Class

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

Namespace

Drupal\backup_migrate\Core\Config

Code

public function config() {
  return $this->config ? $this->config : new Config();
}