function SchemaListenerController::create

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

Overrides ControllerBase::create

File

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

Class

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

Namespace

Drupal\config_test

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('config.factory'));
}

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