MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetSupportedLayouts

Method GetSupportedLayouts

validator/validator.pb.go:2517–2522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2515}
2516
2517func (x *AmpLayout) GetSupportedLayouts() []AmpLayout_Layout {
2518 if x != nil {
2519 return x.SupportedLayouts
2520 }
2521 return nil
2522}
2523
2524func (x *AmpLayout) GetDefinesDefaultWidth() bool {
2525 if x != nil && x.DefinesDefaultWidth != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected