public function EntityConflictHandlerInterface::entityFormAlter in Conflict 8.2
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.
bool $inline_entity_form: (optional) TRUE if an inline entity form is given, FALSE if a regular entity form is given. Defaults to FALSE.
1 method overrides EntityConflictHandlerInterface::entityFormAlter()
- ContentEntityConflictHandler::entityFormAlter in src/
Entity/ ContentEntityConflictHandler.php - Performs the needed alterations to the entity form.
File
- src/
Entity/ EntityConflictHandlerInterface.php, line 53
Class
Namespace
Drupal\conflict\EntityCode
public function entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity, $inline_entity_form = FALSE);