You are here

public function ContentTranslationManagerInterface::isSupported in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::isSupported()

Checks whether an entity type supports translation.

Parameters

string $entity_type_id: The entity type.

Return value

bool TRUE if an entity type is supported, FALSE otherwise.

1 method overrides ContentTranslationManagerInterface::isSupported()
ContentTranslationManager::isSupported in core/modules/content_translation/src/ContentTranslationManager.php
Checks whether an entity type supports translation.

File

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

Class

ContentTranslationManagerInterface
Provides an interface for common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function isSupported($entity_type_id);