protected function ProfileTranslationHandler::hasPublishedStatus in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/ProfileTranslationHandler.php \Drupal\user\ProfileTranslationHandler::hasPublishedStatus()
Checks whether the entity type supports published status natively.
Return value
bool TRUE if metadata is natively supported, FALSE otherwise.
Overrides ContentTranslationHandler::hasPublishedStatus
File
- core/
modules/ user/ src/ ProfileTranslationHandler.php, line 17
Class
- ProfileTranslationHandler
- Defines the translation handler for users.
Namespace
Drupal\userCode
protected function hasPublishedStatus() {
// User status has nothing to do with translations visibility.
return FALSE;
}