You are here

public function EntityTranslationCommentHandler::entityForm in Entity Translation 7

Overrides EntityTranslationDefaultHandler::entityForm

See also

EntityTranslationDefaultHandler::entityForm()

File

includes/translation.handler.comment.inc, line 21
Comment translation handler for the entity translation module.

Class

EntityTranslationCommentHandler
Comment translation handler.

Code

public function entityForm(&$form, &$form_state) {
  parent::entityForm($form, $form_state);

  // Adjust the translation fieldset weight to move it below the admin one.
  $form['translation']['#weight'] = 1;
}