atk4 / mastercrud

Manipulates ATK CRUD through the force of references
https://atk4.org
MIT License
9 stars 7 forks source link

Ability to set a different breadcrumb.. #3

Closed romaninsh closed 6 years ago

romaninsh commented 6 years ago

Suppose you are have client. Client hasMany('Invoices', new Inovoice());

Then when rendering breadcrumb, it should look like this:

Client > Invoices > Invoice 248

Note that getModelCaption would return localized data, but if we use reference, it needs localization.

Additionally there should be a way to override the breadcrumb through injection.

ibelar commented 6 years ago

4