You are here

public function EntityTypeInfo::__construct in Webform Analysis 8

Same name in this branch
  1. 8 src/EntityTypeInfo.php \Drupal\webform_analysis\EntityTypeInfo::__construct()
  2. 8 modules/webform_node_analysis/src/EntityTypeInfo.php \Drupal\webform_node_analysis\EntityTypeInfo::__construct()

EntityTypeInfo constructor.

Parameters

\Drupal\Core\Session\AccountInterface $current_user: Current user.

File

src/EntityTypeInfo.php, line 34

Class

EntityTypeInfo
Manipulates entity type information.

Namespace

Drupal\webform_analysis

Code

public function __construct(AccountInterface $current_user) {
  $this->currentUser = $current_user;
}