NZTA\SDLT\Traits\SDLTSubmissionJson::getQuestionInputFieldByType
get the input field by type from the question input fields return the first match
Signature
public function getQuestionInputFieldByType(array
$question,
string
$fieldType )
Parameters
$question
— array- question to get input fields
$fieldType
— string- field type
Returns
- array