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

Breadcrumb

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

function ContentTranslationManagerInterface::setEnabled

Sets the value for translatability of the given entity type bundle.

Parameters

string $entity_type_id: The entity type.

string $bundle: The bundle of the entity.

bool $value: The boolean value we need to save.

File

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

Class

ContentTranslationManagerInterface
Provides an interface for common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function setEnabled($entity_type_id, $bundle, $value);

API Navigation

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