
| Current Path : /var/www/html/12park/web/modules/contrib/webform/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/12park/web/modules/contrib/webform/src/WebformOptionsStorageInterface.php |
<?php
namespace Drupal\webform;
use Drupal\Core\Config\Entity\ConfigEntityStorageInterface;
use Drupal\Core\Config\Entity\ImportableEntityStorageInterface;
/**
* Provides an interface for Webform Options storage.
*/
interface WebformOptionsStorageInterface extends ConfigEntityStorageInterface, ImportableEntityStorageInterface {
/**
* Gets the names of all categories.
*
* @return string[]
* An array of translated categories, sorted alphabetically.
*/
public function getCategories();
/**
* Get all options grouped by category.
*
* @return string[]
* An array of options grouped by category.
*/
public function getOptions();
/**
* Get all likert options with 'Likert:' prefix removed.
*
* @return string[]
* An array of likert options.
*/
public function getLikerts();
/**
* Get list of composite elements that use the specified webform options.
*
* @param \Drupal\webform\WebformOptionsInterface $webform_options
* A webform options entity.
*
* @return array
* A list of composite elements that use the specified webform options.
*/
public function getUsedByCompositeElements(WebformOptionsInterface $webform_options);
/**
* Get list of webform that use the specified webform options.
*
* @param \Drupal\webform\WebformOptionsInterface $webform_options
* A webform options entity.
*
* @return array
* A list of webform that use the specified webform options.
*/
public function getUsedByWebforms(WebformOptionsInterface $webform_options);
}