If model has not default name attribute (not 'name', or 'title') (see yii2-gii yii\gii\generators\crud\Generator:221)- in breadcrumps will be used its ID attribute instead of getLabel() method (see yii2-giiant\src\generators\crud\default\views\view.php
By the way in a header of view's page use getLabel() method
So I changed $generator->getNameAttribute() (gii module method) with $generator->genModelNameAttribute() (giiant crud RelationTrait method)
After changing generation looks like
As you can see generator started using getLabel() method of model to get main name attribute
By the way in a header of view's page use getLabel() method![image](https://user-images.githubusercontent.com/41924972/145788370-7d173633-8446-429e-bef4-5239dbc36c5f.png)
So I changed $generator->getNameAttribute() (gii module method) with $generator->genModelNameAttribute() (giiant crud RelationTrait method) After changing generation looks like
As you can see generator started using getLabel() method of model to get main name attribute