General Question

Hello there,

in the antimatter blueprint showcase.yaml i saw this lines of code:

form:
  fields:
    tabs:
      fields:
        advanced:
          fields:
            columns:
              fields:
                column1:
                  fields:
                    name:
                      default: modular/showcase
                      '@data-options': '\Grav\Common\Page\Pages::modularTypes'
            overrides:
              fields:
                header.template:
                  default: modular/showcase
                  '@data-options': '\Grav\Common\Page\Pages::modularTypes'

I know that blueprints are needed to make options and fields available to the backend. But what does these lines above do and do i need them if i create a blueprint for modular pages?

Thanks in advance

I believe this is something that was needed in the past, but you don’t need anymore. I tried removing them and I didn’t notice any change, Grav handles populating those fields just fine. Or if this is still needed (for some reason I could not lookup), it should probably be put in https://github.com/getgrav/grav/blob/develop/system/blueprints/pages/modular.yaml instead.

thank u very much. so i will not care abt these line anymore.