You are here

interface FormMapInterface in Pardot Integration 2.x

Provides an interface for defining Pardot Form Map entities.

Hierarchy

Expanded class hierarchy of FormMapInterface

All classes that implement FormMapInterface

File

src/FormMapInterface.php, line 8

Namespace

Drupal\pardot
View source
interface FormMapInterface {

  /**
   * Get the form handler post url.
   *
   * @return string
   *   The uri.
   */
  public function getPostUrl();

  /**
   * Set the form handler post uri.
   *
   * @param string $post_url
   *   The form handler uri.
   */
  public function setPostUrl(string $post_url);

  /**
   * Get the array of MappedField instances.
   *
   * @return \Drupal\pardot\MappedField[]
   *   The array of MappedField instances.
   */
  public function getMappedFieldCollection();

  /**
   * Set the array of field map configurations.
   *
   * @param \Drupal\pardot\MappedField[] $mapping
   *   The array of MappedField instances.
   */
  public function setMappedFieldCollection(array $mapping);

}

Members

Namesort descending Modifiers Type Description Overrides
FormMapInterface::getMappedFieldCollection public function Get the array of MappedField instances. 1
FormMapInterface::getPostUrl public function Get the form handler post url. 1
FormMapInterface::setMappedFieldCollection public function Set the array of field map configurations. 1
FormMapInterface::setPostUrl public function Set the form handler post uri. 1