You are here

interface ViewsTemplateLoaderInterface in Views Templates 8

Provide interface for loading Views Templates for a builder.

Hierarchy

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_templates
View 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

Namesort descending Modifiers Type Description Overrides
ViewsTemplateLoaderInterface::load public function Load template array values from file system for builder plugin. 1