function SchemaListenerController::__construct

Same name in other branches
  1. 8.9.x core/modules/config/tests/config_test/src/SchemaListenerController.php \Drupal\config_test\SchemaListenerController::__construct()
  2. 10 core/modules/config/tests/config_test/src/SchemaListenerController.php \Drupal\config_test\SchemaListenerController::__construct()
  3. 11.x core/modules/config/tests/config_test/src/SchemaListenerController.php \Drupal\config_test\SchemaListenerController::__construct()

Constructs the SchemaListenerController object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

core/modules/config/tests/config_test/src/SchemaListenerController.php, line 21

Class

SchemaListenerController
Controller for testing \Drupal\Core\Config\Development\ConfigSchemaChecker.

Namespace

Drupal\config_test

Code

public function __construct(ConfigFactoryInterface $config_factory) {
    $this->configFactory = $config_factory;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.