Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProfileTranslationHandler.php

function 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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal