Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/user/src/Entity/User.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
365 | 365 |
366 /** | 366 /** |
367 * {@inheritdoc} | 367 * {@inheritdoc} |
368 */ | 368 */ |
369 public function getUsername() { | 369 public function getUsername() { |
370 @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); | |
370 return $this->getAccountName(); | 371 return $this->getAccountName(); |
371 } | 372 } |
372 | 373 |
373 /** | 374 /** |
374 * {@inheritdoc} | 375 * {@inheritdoc} |