You are here

public function EntityTypeInfo::__construct in Devel 4.x

Same name and namespace in other branches
  1. 8.3 src/EntityTypeInfo.php \Drupal\devel\EntityTypeInfo::__construct()
  2. 8 src/EntityTypeInfo.php \Drupal\devel\EntityTypeInfo::__construct()
  3. 8.2 src/EntityTypeInfo.php \Drupal\devel\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\devel

Code

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