webform_civicrm-8.x-5.0-beta3/src/FieldsInterface.php
src/FieldsInterface.php
<?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');
}
