Update hook name

This commit is contained in:
abhishek-webkul
2024-01-16 19:55:02 +05:30
committed by GitHub
parent b080e9bc6f
commit 4cdbca6865

View File

@@ -1885,7 +1885,7 @@ abstract class ObjectModelCore implements Core_Foundation_Database_EntityInterfa
);
}
Hook::exec('actionObject'.$class.'GetDefinition', array('definition' => &$definition));
Hook::exec('actionObject'.$class.'DefinitionModifier', array('definition' => &$definition));
if ($field) {
return isset($definition['fields'][$field]) ? $definition['fields'][$field] : null;