Manual:Hooks/GetContentModels

Details

 * &$models: array of content model names. The extension should add its models to this array.

It is recommended that the extensions processing content models via ContentHandlerForModelID hook would register these models using this hook, otherwise the core does not know these models exist.

For more information on content models see ContentHandler.