ProfileTranslationHandler::hasPublishedStatus

protected 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\user

Code

protected function hasPublishedStatus() {
  // User status has nothing to do with translations visibility.
  return FALSE;
}
doc_Drupal
2016-10-29 09:35:06
Comments
Leave a Comment

Please login to continue.