function JsonapiRequirements::__construct

Same name and namespace in other branches
  1. 11.x core/modules/jsonapi/src/Hook/JsonapiRequirements.php \Drupal\jsonapi\Hook\JsonapiRequirements::__construct()

File

core/modules/jsonapi/src/Hook/JsonapiRequirements.php, line 21

Class

JsonapiRequirements
Requirements for the JSON:API module.

Namespace

Drupal\jsonapi\Hook

Code

public function __construct(protected readonly ConfigFactoryInterface $configFactory, protected readonly ModuleHandlerInterface $moduleHandler) {
}

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