You are here

interface ViewsDuplicateBuilderPluginInterface in Views Templates 8

Creates common interface for Builders that use View Template.

This allows Views to be exported to CMI and then manually changed to Views Templates by changing the.

Hierarchy

Expanded class hierarchy of ViewsDuplicateBuilderPluginInterface

All classes that implement ViewsDuplicateBuilderPluginInterface

2 files declare their use of ViewsDuplicateBuilderPluginInterface
ViewsTemplateLoader.php in src/ViewsTemplateLoader.php
ViewsTemplateLoaderInterface.php in src/ViewsTemplateLoaderInterface.php

File

src/Plugin/ViewsDuplicateBuilderPluginInterface.php, line 11

Namespace

Drupal\views_templates\Plugin
View source
interface ViewsDuplicateBuilderPluginInterface extends ViewsBuilderPluginInterface {

  /**
   * Return the View Template id to be used by this Plugin.
   *
   * @return string
   *   Returns View Template id.
   */
  public function getViewTemplateId();

}

Members

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
ViewsBuilderPluginInterface::buildConfigurationForm public function Return form elements of extra configuration when adding View from template. 1
ViewsBuilderPluginInterface::createView public function Create a View. Don't save it. 1
ViewsBuilderPluginInterface::getAdminLabel public function Get template admin label. 1
ViewsBuilderPluginInterface::getBaseTable public function Returns base table id. 1
ViewsBuilderPluginInterface::getDefinitionValue public function Get a value from the plugin definition. 1
ViewsBuilderPluginInterface::getDescription public function Get template description. 1
ViewsBuilderPluginInterface::templateExists public function Determine if a template exists. 1
ViewsDuplicateBuilderPluginInterface::getViewTemplateId public function Return the View Template id to be used by this Plugin. 1