PardotFormMapFormatterPluginInterface.php in Pardot Integration 2.x
Namespace
Drupal\pardot\PluginFile
src/Plugin/PardotFormMapFormatterPluginInterface.phpView source
<?php
namespace Drupal\pardot\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Form\FormStateInterface;
/**
* Defines an interface for Pardot form map plugin plugins.
*/
interface PardotFormMapFormatterPluginInterface extends PluginInspectionInterface {
/**
* Get the form field from the form state and apply formatting.
*
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state that holds the input values.
*
* @return mixed
* The formatted value or null i guess.
*/
public function getFormattedValue(FormStateInterface $form_state);
}
Interfaces
Name | Description |
---|---|
PardotFormMapFormatterPluginInterface | Defines an interface for Pardot form map plugin plugins. |