function FileViewsHooks::__construct

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

File

core/modules/file/src/Hook/FileViewsHooks.php, line 21

Class

FileViewsHooks
Hook implementations for file.

Namespace

Drupal\file\Hook

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly EntityFieldManagerInterface $entityFieldManager, protected readonly ?FieldViewsDataProvider $fieldViewsDataProvider) {
}

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