comparison core/lib/Drupal/Core/Session/UserSession.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
153 153
154 /** 154 /**
155 * {@inheritdoc} 155 * {@inheritdoc}
156 */ 156 */
157 public function getUsername() { 157 public function getUsername() {
158 @trigger_error('\Drupal\Core\Session\AccountInterface::getUsername() is deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Session\AccountInterface::getAccountName() or \Drupal\user\UserInterface::getDisplayName() instead. See https://www.drupal.org/node/2572493', E_USER_DEPRECATED);
158 return $this->getAccountName(); 159 return $this->getAccountName();
159 } 160 }
160 161
161 /** 162 /**
162 * {@inheritdoc} 163 * {@inheritdoc}