You are here

interface WebformAddonsManagerInterface in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformAddonsManagerInterface.php \Drupal\webform\WebformAddonsManagerInterface

Defines an interface for webform add-ons classes.

Hierarchy

Expanded class hierarchy of WebformAddonsManagerInterface

All classes that implement WebformAddonsManagerInterface

2 files declare their use of WebformAddonsManagerInterface
WebformAddonsController.php in src/Controller/WebformAddonsController.php
WebformAdminConfigFormsForm.php in src/Form/AdminConfig/WebformAdminConfigFormsForm.php

File

src/WebformAddonsManagerInterface.php, line 8

Namespace

Drupal\webform
View source
interface WebformAddonsManagerInterface {

  /**
   * Get add-on project information.
   *
   * @param string $name
   *   The name of the add-on project.
   *
   * @return array
   *   An associative array containing an add-on project.
   */
  public function getProject($name);

  /**
   * Get add-on projects.
   *
   * @param string|null $category
   *   (optional) Category to filter project by.
   *
   * @return array
   *   An associative array of add-on projects.
   */
  public function getProjects($category = NULL);

  /**
   * Get add-on projects that support third party settings.
   *
   * @return array
   *   An associative array containing add-on projects that support third party
   *   settings.
   */
  public function getThirdPartySettings();

  /**
   * Get add-on categories.
   *
   * @return array
   *   An array of add-on categories.
   */
  public function getCategories();

}

Members

Namesort descending Modifiers Type Description Overrides
WebformAddonsManagerInterface::getCategories public function Get add-on categories. 1
WebformAddonsManagerInterface::getProject public function Get add-on project information. 1
WebformAddonsManagerInterface::getProjects public function Get add-on projects. 1
WebformAddonsManagerInterface::getThirdPartySettings public function Get add-on projects that support third party settings. 1