ICustomTemplateProvider

interface OCP\Files\Template\ICustomTemplateProvider
Source:lib/public/Files/Template/ICustomTemplateProvider.php#34

Methods

public OCP\Files\Template\ICustomTemplateProvider::getCustomTemplates($mimetype)
Return a list of additional templates that the template provider is offering
Source:lib/public/Files/Template/ICustomTemplateProvider.php#41
Returns:\OCP\Files\File[]
Since:21.0.0
public OCP\Files\Template\ICustomTemplateProvider::getCustomTemplate($template)
Return the file for a given template id
Source:

lib/public/Files/Template/ICustomTemplateProvider.php#50

Parameters:
  • $template (string) identifier of the template
Returns:

\OCP\Files\File

Since:

21.0.0