You are here

protected function VariableConfiguration::createConfigToExport in Configuration Management 7.2

This function creates the configurations that will be exported by configuration management.

Overrides ConfigurationHandlerBaseTestCase::createConfigToExport

File

tests/handlers/TestVariableConfiguration.test, line 81
Tests for Configuration Management: Variables.

Class

VariableConfiguration
@file Tests for Configuration Management: Variables.

Code

protected function createConfigToExport() {
  $this->variable_name = drupal_strtolower($this
    ->randomName());
  variable_set($this->variable_name, $this
    ->randomName());
}