I can call predefined image transforms no problem -
$image->getUrl('small')
but cropped mobile transforms need to use the image asset's set focal point (from the Image Editor). I can't find any example of how to use this feature in code?
I assume the only way to use this focal point is setting a new transform array in PHP? (i.e. the preset values are ignored).
Be good if there was an option to use the Image Focal point in the Transform setup (UI).