ContentTranslationHandler::hasPublishedStatus

protected ContentTranslationHandler::hasPublishedStatus()

Checks whether the entity type supports published status natively.

Return value

bool TRUE if metadata is natively supported, FALSE otherwise.

File

core/modules/content_translation/src/ContentTranslationHandler.php, line 186

Class

ContentTranslationHandler
Base class for content translation handlers.

Namespace

Drupal\content_translation

Code

protected function hasPublishedStatus() {
  return $this->checkFieldStorageDefinitionTranslatability('status');
}
doc_Drupal
2016-10-29 08:58:16
Comments
Leave a Comment

Please login to continue.