Added: Hook actionObject<<ClassName>>GetDefinition in ObjectModel
This commit is contained in:
@@ -1885,6 +1885,8 @@ abstract class ObjectModelCore implements Core_Foundation_Database_EntityInterfa
|
||||
);
|
||||
}
|
||||
|
||||
Hook::exec('actionObject'.$class.'GetDefinition', array('definition' => &$definition));
|
||||
|
||||
if ($field) {
|
||||
return isset($definition['fields'][$field]) ? $definition['fields'][$field] : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user