public function FormMap::getMappedField in Pardot Integration 2.x
Retrieve a particular row from the MappedField collection.
Parameters
int $key: The index where the MappedField lives.
Return value
mixed Return the instance of MappedFieldInterface or null.
File
- src/
FormMap.php, line 113
Class
- FormMap
- Provides an interface for defining Pardot Form Map entities.
Namespace
Drupal\pardotCode
public function getMappedField(int $key) {
if (isset($this->mapping[$key])) {
return $this->mapping[$key];
}
return NULL;
}