protected function ProfileTranslationHandler::hasPublishedStatus in Drupal 9
Same name and namespace in other branches
- 8 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;
}