ContentTranslationHandlerInterface::entityFormAlter

public ContentTranslationHandlerInterface::entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity)

Performs the needed alterations to the entity form.

Parameters

array $form: The entity form to be altered to provide the translation workflow.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

\Drupal\Core\Entity\EntityInterface $entity: The entity being created or edited.

File

core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 72

Class

ContentTranslationHandlerInterface
Interface for providing content translation.

Namespace

Drupal\content_translation

Code

public function entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity);
doc_Drupal
2016-10-29 08:58:17
Comments
Leave a Comment

Please login to continue.