public function FlexiformElementEntityProperty::wrapper in Flexiform 7
Return the wrapper for the entity.
File
- includes/
element/ property.element.inc, line 54 - Contains class for the entity property elements.
Class
- FlexiformElementEntityProperty
- Class to add an element for entity properties.
Code
public function wrapper($entity = NULL) {
return entity_metadata_wrapper($this->entity_type, $entity, array(
'bundle' => $this->bundle,
));
}