Get Resource Page Type

Is it possible to get the current resource page type as parameter for a FormInput Field like the label for example:
->label(function(ResourcePage $page){
   if($page == 'create'){ return 'Specific'; } else { return 'Standard'; }
})
Was this page helpful?