public function FlexiformBuilderFlexiform::registerEntityCallback in Flexiform 7
Set a entity callback.
File
- includes/
builder/ flexiform.builder.inc, line 49 - Contains the FlexiformBuilderFlexiform Class
Class
- FlexiformBuilderFlexiform
- Flexiform Builder Class for the complex flexiforms.
Code
public function registerEntityCallback($type, $namespace, $callback, $extra = array(), &$state = array()) {
$this
->getEntityManager($state)
->registerCallback($type, $namespace, $callback, $extra);
}