You are here

function UtilsInterface::wf_crm_contact_label in Webform CiviCRM Integration 8.5

Parameters

integer $n:

array $data Form data:

string $html Controls how html should be treated. Options are::

  • 'escape': (default) Escape html characters
  • 'wrap': Escape html characters and wrap in a span
  • 'plain': Do not escape (use when passing into an FAPI options list which does its own escaping)

Return value

string

1 method overrides UtilsInterface::wf_crm_contact_label()
Utils::wf_crm_contact_label in src/Utils.php

File

src/UtilsInterface.php, line 209

Class

UtilsInterface

Namespace

Drupal\webform_civicrm

Code

function wf_crm_contact_label($n, $data = [], $html = 'escape');