You are here

function UtilsInterface::wf_crm_str2array in Webform CiviCRM Integration 8.5

Convert a | separated string into an array

Parameters

string $str: String representation of key => value select options

Return value

array of select options

1 method overrides UtilsInterface::wf_crm_str2array()
Utils::wf_crm_str2array in src/Utils.php
Convert a | separated string into an array

File

src/UtilsInterface.php, line 219

Class

UtilsInterface

Namespace

Drupal\webform_civicrm

Code

function wf_crm_str2array($str);