You are here

interface TwigExtensionInterface in Twig Extender 4.x

Same name and namespace in other branches
  1. 8.4 src/Plugin/Twig/TwigExtensionInterface.php \Drupal\twig_extender\Plugin\Twig\TwigExtensionInterface
  2. 8 src/Plugin/Twig/TwigExtensionInterface.php \Drupal\twig_extender\Plugin\Twig\TwigExtensionInterface
  3. 8.2 src/Plugin/Twig/TwigExtensionInterface.php \Drupal\twig_extender\Plugin\Twig\TwigExtensionInterface
  4. 8.3 src/Plugin/Twig/TwigExtensionInterface.php \Drupal\twig_extender\Plugin\Twig\TwigExtensionInterface

Plugin interface.

Hierarchy

Expanded class hierarchy of TwigExtensionInterface

All classes that implement TwigExtensionInterface

File

src/Plugin/Twig/TwigExtensionInterface.php, line 11

Namespace

Drupal\twig_extender\Plugin\Twig
View source
interface TwigExtensionInterface extends PluginInspectionInterface, DerivativeInspectionInterface {

  /**
   * Get type of the twig extension.
   */
  public function getType();

  /**
   * Get type of the twig extension.
   */
  public function getName();

  /**
   * Get type of the twig extension.
   */
  public function getFunction();

  /**
   * Get type of the twig extension.
   */
  public function register();

}

Members

Namesort descending Modifiers Type Description Overrides
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
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
TwigExtensionInterface::getFunction public function Get type of the twig extension. 1
TwigExtensionInterface::getName public function Get type of the twig extension. 1
TwigExtensionInterface::getType public function Get type of the twig extension. 1
TwigExtensionInterface::register public function Get type of the twig extension. 1