public function EntityformTypeController::export in Entityform 7.2
Same name and namespace in other branches
- 7 entityform.module \EntityformTypeController::export()
Overridden.
Overrides EntityAPIControllerExportable::export
File
- ./
entityform.module, line 1509 - Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface
Class
- EntityformTypeController
- The Controller for Entityform entities
Code
public function export($entity, $prefix = '') {
if (module_exists('path')) {
foreach ($entity->paths as &$path) {
unset($path['pid']);
}
}
return parent::export($entity, $prefix);
}