drupal-graphql / drupal-graphql/graphql-examples

[Question] Is there any example on how to create webform mutation?

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I'm trying to send email using mutation and webform module. For now I've created `EmailInput.php` as **InputType** and `SendEmail.php` as **Mutations**, basically just copy code of `CreateArticle.php` and `ArticleInput.php`

I'm able to create new Webform Submission, but not sure how to send and save values, so submissions are empty.

`SendEmail.php`

```php
$args['input']['email']
];
}
}
```
`EmailInput.php`
```php

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.