You are here

FieldsInterface.php in Webform CiviCRM Integration 8.5

File

src/FieldsInterface.php
View source
<?php

namespace Drupal\webform_civicrm;

interface FieldsInterface {

  /**
   * Fetches CiviCRM field data.
   *
   * @param string $var
   *   Name of variable to return: fields, tokens, or sets
   *
   * @return array
   * @return array
   *   fields: The CiviCRM contact fields this module supports
   *   tokens: Available tokens keyed to field ids
   *   sets: Info on fieldsets (entities)
   */
  public function get($var = 'fields');

}

Interfaces

Namesort descending Description
FieldsInterface