parent::populate();
$this->getDocument()->getDataHandler()->add(new CustomFormFieldDataProcessor('acl', function(IFormDocument $document, array $parameters) {
- $parameters['aclObjectTypeID'] = $this->getObjectType()->objectTypeID;
+ $parameters[$this->getId() . '_aclObjectTypeID'] = $this->getObjectType()->objectTypeID;
return $parameters;
}));
$this->getDocument()->getDataHandler()->add(new CustomFormFieldDataProcessor('acl', function(IFormDocument $document, array $parameters) {
if ($this->getValue() !== null && !empty($this->getValue())) {
- $parameters['tags'] = $this->getValue();
+ $parameters[$this->getId()] = $this->getValue();
}
return $parameters;