ContentTranslationHandler::addTranslatabilityClue

protected ContentTranslationHandler::addTranslatabilityClue(&$element) Adds a clue about the form element translatability. If the given element does not have a #title attribute, the function is recursively applied to child elements. Parameters array $element: A form element array. File core/modules/content_translation/src/ContentTranslationHandler.php, line 536 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code pr

ContentTranslationHandler::$manager

The content translation manager. Type: \Drupal\content_translation\ContentTranslationManagerInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 54 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $manager;

ContentTranslationHandler::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 47 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $languageManager;

ContentTranslationHandler::$fieldStorageDefinitions

The array of installed field storage definitions for the entity type, keyed by field name. Type: \Drupal\Core\Field\FieldStorageDefinitionInterface[] File core/modules/content_translation/src/ContentTranslationHandler.php, line 69 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $fieldStorageDefinitions;

ContentTranslationHandler::$entityTypeId

The type of the entity being translated. Type: string File core/modules/content_translation/src/ContentTranslationHandler.php, line 33 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $entityTypeId;

ContentTranslationHandler::$entityType

Information about the entity type. Type: \Drupal\Core\Entity\EntityTypeInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 40 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $entityType;

ContentTranslationHandler::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 61 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $currentUser;

ContentTranslationHandler

Base class for content translation handlers. Hierarchy class \Drupal\content_translation\ContentTranslationHandler implements ContentTranslationHandlerInterface, EntityHandlerInterface uses DependencySerializationTrait Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/modules/content_translation/src/ContentTranslationHandler.php, line 25 Namespace Drupal\content_translation Members Name Modifiers Type Description C

ContentTranslationDeleteForm::getFormId

public ContentTranslationDeleteForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides EntityForm::getFormId File core/modules/content_translation/src/Form/ContentTranslationDeleteForm.php, line 17 Class ContentTranslationDeleteForm Delete translation form for content_translation module. Namespace Drupal\content_translation\Form Code public function getFormId() { return 'content_translation_delete_confirm'

ContentTranslationDeleteForm::buildForm

public ContentTranslationDeleteForm::buildForm(array $form, FormStateInterface $form_state, LanguageInterface $language = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ContentEntityDeleteForm::buildForm File core/modules/content_translation/src/Form/ContentTranslationDeleteForm.php, line 24 Class Cont