interface YamlFormHandlerMessageInterface in YAML Form 8
Defines the interface for form handlers that send messages.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurablePluginInterface; interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface
- interface \Drupal\yamlform\YamlFormHandlerInterface
- interface \Drupal\yamlform\YamlFormHandlerMessageInterface
- interface \Drupal\yamlform\YamlFormHandlerInterface
Expanded class hierarchy of YamlFormHandlerMessageInterface
All classes that implement YamlFormHandlerMessageInterface
See also
\Drupal\yamlform\Plugin\YamlFormHandler\EmailYamlFormHandler
2 files declare their use of YamlFormHandlerMessageInterface
- EmailYamlFormHandler.php in src/
Plugin/ YamlFormHandler/ EmailYamlFormHandler.php - YamlFormAccess.php in src/
Access/ YamlFormAccess.php
File
- src/
YamlFormHandlerMessageInterface.php, line 10
Namespace
Drupal\yamlformView source
interface YamlFormHandlerMessageInterface extends YamlFormHandlerInterface {
/**
* Get a fully populated email for a form submission.
*
* @param \Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission
* A form submission.
*
* @return array
* An array containing message parameters.
*/
public function getMessage(YamlFormSubmissionInterface $yamlform_submission);
/**
* Sends and logs a form submission message.
*
* @param array $message
* An array of message parameters.
*/
public function sendMessage(array $message);
/**
* Build resend message form.
*
* @param array $message
* An array of message parameters.
*
* @return array
* A form to edit a message.
*/
public function resendMessageForm(array $message);
/**
* Build message summary.
*
* @param array $message
* An array of message parameters.
*
* @return array
* A renderable array representing a message summary.
*/
public function getMessageSummary(array $message);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurablePluginInterface:: |
public | function | Gets default configuration for this plugin. | 1 |
ConfigurablePluginInterface:: |
public | function | Gets this plugin's configuration. | 1 |
ConfigurablePluginInterface:: |
public | function | Sets the configuration for this plugin instance. | 1 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
YamlFormHandlerInterface:: |
public | function | Alter form submission form elements. | 1 |
YamlFormHandlerInterface:: |
public | function | Alter form submission form . | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the form handler cardinality settings. | 1 |
YamlFormHandlerInterface:: |
constant | Value indicating a single plugin instances are permitted. | ||
YamlFormHandlerInterface:: |
constant | Value indicating unlimited plugin instances are permitted. | ||
YamlFormHandlerInterface:: |
public | function | Confirm form submission form. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the form handler description. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the unique ID representing the form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the label of the form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the status of the form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns a render array summarizing the configuration of the form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the weight of the form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the form handler disabled indicator. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the form handler enabled indicator. | 1 |
YamlFormHandlerInterface:: |
public | function | Returns the form handler label. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on a form submission after it is created. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on deleted a form submission before the delete hook is invoked. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on loaded form submission. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on a saved form submission before the insert or update hook is invoked. | 1 |
YamlFormHandlerInterface:: |
public | function | Changes the values of an entity before it is created. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on a form submission before they are deleted and before hooks are invoked. | 1 |
YamlFormHandlerInterface:: |
public | function | Acts on a form submission before the presave hook is invoked. | 1 |
YamlFormHandlerInterface:: |
constant | Value indicating form submissions are not processed (ie email or saved) by the handler. | ||
YamlFormHandlerInterface:: |
constant | Value indicating form submissions are processed (ie email or saved) by the handler. | ||
YamlFormHandlerInterface:: |
public | function | Sets the id for this form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Sets the label for this form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Sets the status for this form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Sets the weight for this form handler. | 1 |
YamlFormHandlerInterface:: |
public | function | Submit form submission form. | 1 |
YamlFormHandlerInterface:: |
public | function | Validate form submission form . | 1 |
YamlFormHandlerMessageInterface:: |
public | function | Get a fully populated email for a form submission. | 1 |
YamlFormHandlerMessageInterface:: |
public | function | Build message summary. | 1 |
YamlFormHandlerMessageInterface:: |
public | function | Build resend message form. | 1 |
YamlFormHandlerMessageInterface:: |
public | function | Sends and logs a form submission message. | 1 |