ViewsTemplateLoaderInterface.php in Views Templates 8
Namespace
Drupal\views_templatesFile
src/ViewsTemplateLoaderInterface.phpView source
<?php
namespace Drupal\views_templates;
use Drupal\views_templates\Plugin\ViewsDuplicateBuilderPluginInterface;
/**
* Provide interface for loading Views Templates for a builder.
*/
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);
}
Interfaces
Name | Description |
---|---|
ViewsTemplateLoaderInterface | Provide interface for loading Views Templates for a builder. |