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

Breadcrumb

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

function ContentTranslationManagerInterface::getTranslationMetadata

Returns an instance of the Content translation metadata.

Parameters

\Drupal\Core\Entity\EntityInterface $translation: The entity translation whose metadata needs to be retrieved.

Return value

\Drupal\content_translation\ContentTranslationMetadataWrapperInterface An instance of the content translation metadata.

File

core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 51

Class

ContentTranslationManagerInterface
Provides an interface for common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function getTranslationMetadata(EntityInterface $translation);

API Navigation

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