Skip to content
Snippets Groups Projects

Issue #2702401: Add integration for the user entity type

2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
31 31 $entity_types['node']->setHandlerClass('inline_form', '\Drupal\inline_entity_form\Form\NodeInlineForm');
32 32 }
33 33
34 if (!$entity_types['user']->getHandlerClass('inline_form')) {
  • 56 /**
    57 * Internal helper.
    58 *
    59 * Returns handler for the user form.
    60 *
    61 * @param \Drupal\Core\Entity\ContentEntityInterface $entity
    62 * User account entity.
    63 * @param \Drupal\Core\Form\FormStateInterface $form_state
    64 * Current form state.
    65 * @param string $form_mode
    66 * User form mode (usually it's "register").
    67 *
    68 * @return \Drupal\Core\Form\FormInterface
    69 * User account form.
    70 */
    71 protected function getUserFormObject(
    • I tried to start from the patch on comment 47 but in the end, I'm starting to think if it's a good a idea to involve AccountForm at all. The user entity seems to have a lot of magic going on. It might be easier to have a simple version of the account form hard-coded into the UserInlineForm. The biggest roadblock is the account array that is introduced by AccountForm.

    • Please register or sign in to reply
  • Jerry Radwick added 1 commit

    added 1 commit

    • 574ef5e5 - 2702401: Comment code added for debugging

    Compare with previous version

  • Please register or sign in to reply
    Loading