interface ViewsTemplateLoaderInterface in Views Templates 8
Provide interface for loading Views Templates for a builder.
Hierarchy
- interface \Drupal\views_templates\ViewsTemplateLoaderInterface
Expanded class hierarchy of ViewsTemplateLoaderInterface
All classes that implement ViewsTemplateLoaderInterface
1 file declares its use of ViewsTemplateLoaderInterface
- ViewsDuplicateBuilderBase.php in src/
Plugin/ ViewsDuplicateBuilderBase.php
File
- src/
ViewsTemplateLoaderInterface.php, line 10
Namespace
Drupal\views_templatesView source
interface ViewsTemplateLoaderInterface {
/**
* Load template array values from file system for builder plugin.
*
* @param \Drupal\views_templates\Plugin\ViewsDuplicateBuilderPluginInterface $builder
* The Views Duplicate Builder Interface.
*
* @throws \Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException
* If template does not exist.
*
* @return array
* Returns array values from file system.
*/
public function load(ViewsDuplicateBuilderPluginInterface $builder);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ViewsTemplateLoaderInterface:: |
public | function | Load template array values from file system for builder plugin. | 1 |