function EntityTypeInfo::__construct
EntityTypeInfo constructor.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: Current user.
File
-
src/
EntityTypeInfo.php, line 35
Class
- EntityTypeInfo
- Manipulates entity type information.
Namespace
Drupal\develCode
public function __construct(AccountInterface $current_user) {
$this->currentUser = $current_user;
}