{"extended":{"hasExtended":true,"docs":"
// This will only provide the `html` type and will ignore what was defined in the call to `provides()` in the `init()` function\nonlyProvides("html");"},"hint":"Use this in an individual controller action to define which formats the action will respond with. This can be used to define provides behavior in individual actions or to override a global setting set with provides in the controller's init().","returntype":"","slug":"onlyprovides","parameters":[{"default":"","required":"false","hint":"See documentation for provides.","name":"formats","type":"string"},{"default":"","required":"false","hint":"Name of action, defaults to current.","name":"action","type":"string"}],"name":"onlyProvides","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}