Calling Model::getUserActions() on entity might have small negative impact and in most cases it is unneded/unwanted.
If action for entity is rellay wanted/needed, it can be always get using Model::getUserAction($name) or even with UserAction::getActionForEntity when the $name is not known (easily gettable).
related with https://github.com/atk4/data/pull/943
Calling
Model::getUserActions()
on entity might have small negative impact and in most cases it is unneded/unwanted.If action for entity is rellay wanted/needed, it can be always get using
Model::getUserAction($name)
or even withUserAction::getActionForEntity
when the$name
is not known (easily gettable).