public function JsonapiResourceConfigForm::__construct in JSON:API Extras 8
Same name and namespace in other branches
- 8.3 src/Form/JsonapiResourceConfigForm.php \Drupal\jsonapi_extras\Form\JsonapiResourceConfigForm::__construct()
- 8.2 src/Form/JsonapiResourceConfigForm.php \Drupal\jsonapi_extras\Form\JsonapiResourceConfigForm::__construct()
JsonapiResourceConfigForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundle_info: Bundle information service.
\Drupal\jsonapi\ResourceType\ResourceTypeRepository $resource_type_repository: The JSON API resource type repository.
\Drupal\Core\Entity\EntityFieldManager $field_manager: The entity field manager.
\Drupal\Core\Entity\EntityTypeRepositoryInterface $entity_type_repository: The entity type repository.
\Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerManager $enhancer_manager: The plugin manager for the resource field enhancer.
\Drupal\Core\Config\ImmutableConfig $config: The config instance.
\Symfony\Component\HttpFoundation\Request $request: The HTTP request.
\Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager: The typed config manager.
File
- src/
Form/ JsonapiResourceConfigForm.php, line 102
Class
- JsonapiResourceConfigForm
- Base form for jsonapi_resource_config.
Namespace
Drupal\jsonapi_extras\FormCode
public function __construct(EntityTypeBundleInfoInterface $bundle_info, ResourceTypeRepository $resource_type_repository, EntityFieldManager $field_manager, EntityTypeRepositoryInterface $entity_type_repository, ResourceFieldEnhancerManager $enhancer_manager, ImmutableConfig $config, Request $request, TypedConfigManagerInterface $typed_config_manager) {
$this->bundleInfo = $bundle_info;
$this->resourceTypeRepository = $resource_type_repository;
$this->fieldManager = $field_manager;
$this->entityTypeRepository = $entity_type_repository;
$this->enhancerManager = $enhancer_manager;
$this->config = $config;
$this->request = $request;
$this->typedConfigManager = $typed_config_manager;
}