the current drupal8 branch does not work at all.

attached a patch that moves the form into src/Form/ContactForm.php and migrates everything to work with D8

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

j1n created an issue. See original summary.

j1n’s picture

Status: Active » Needs review

nagy.balint’s picture

Status: Needs review » Needs work

Thanks! Committed!

A few issue remains:
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_email_contact_field_formatter_settings_form_validate' not found or invalid function name in Drupal\Core\Form\FormValidator->doValidateForm() (line 277 of core/lib/Drupal/Core/Form/FormValidator.php).

- The formatter settings for the link formatter seems to not have enough options compared to the inline one.

j1n’s picture

Status: Needs work » Needs review
FileSize
1.82 KB

> - Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ...

ported version of custom_path validation attached.

> - The formatter settings for the link formatter seems to not have enough options compared to the inline one.

additional options would have to be passed as GET arguments in the link, was not quite sure how to best do that.

  • nagy.balint committed 928388c on 8.x-1.x authored by j1n
    Issue #2854593 by j1n: Fix Drupal 8 version - ported validator
    
nagy.balint’s picture

Status: Needs review » Fixed

Thanks! Maybe we can move that to a new issue, as anyways the Drupal 8 version is working now.
-> #2864335: Port Link formatter settings

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.