function ProfileTranslationHandler::hasPublishedStatus

Same name in other branches
  1. 9 core/modules/user/src/ProfileTranslationHandler.php \Drupal\user\ProfileTranslationHandler::hasPublishedStatus()
  2. 10 core/modules/user/src/ProfileTranslationHandler.php \Drupal\user\ProfileTranslationHandler::hasPublishedStatus()
  3. 11.x core/modules/user/src/ProfileTranslationHandler.php \Drupal\user\ProfileTranslationHandler::hasPublishedStatus()

Overrides ContentTranslationHandler::hasPublishedStatus

File

core/modules/user/src/ProfileTranslationHandler.php, line 17

Class

ProfileTranslationHandler
Defines the translation handler for users.

Namespace

Drupal\user

Code

protected function hasPublishedStatus() {
    // User status has nothing to do with translations visibility.
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.