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\ControllerCode
protected $currentUser;