You are here

protected property PublishContentPublishEntity::$currentUser in Publish Content 8

The current user service.

Type: \Drupal\Core\Session\AccountInterface

File

src/Controller/PublishContentPublishEntity.php, line 47

Class

PublishContentPublishEntity
Toggles node status.

Namespace

Drupal\publishcontent\Controller

Code

protected $currentUser;