CKEditor5MediaController::$currentUser

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php \Drupal\ckeditor5\Controller\CKEditor5MediaController::currentUser
  2. 11.x core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php \Drupal\ckeditor5\Controller\CKEditor5MediaController::currentUser

The currently authenticated user.

Type: \Drupal\Core\Session\AccountInterface

Overrides ControllerBase::$currentUser

File

core/modules/ckeditor5/src/Controller/CKEditor5MediaController.php, line 35

Class

CKEditor5MediaController
Provides an API for checking if a media entity has image field.

Namespace

Drupal\ckeditor5\Controller

Code

protected $currentUser;

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