diff --git a/core/modules/tracker/lib/Drupal/tracker/Plugin/Menu/UserTrackerTab.php b/core/modules/tracker/lib/Drupal/tracker/Plugin/Menu/UserTrackerTab.php index 1dcc650..3e195af 100644 --- a/core/modules/tracker/lib/Drupal/tracker/Plugin/Menu/UserTrackerTab.php +++ b/core/modules/tracker/lib/Drupal/tracker/Plugin/Menu/UserTrackerTab.php @@ -30,7 +30,7 @@ class UserTrackerTab extends LocalTaskDefault { * * @return \Drupal\Core\Session\AccountInterface */ - public function currentUser() { + protected function currentUser() { if (!$this->currentUser) { $this->currentUser = \Drupal::currentUser(); }