You are here

public function WebformOptionsStorageInterface::getCategories in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformOptionsStorageInterface.php \Drupal\webform\WebformOptionsStorageInterface::getCategories()

Gets the names of all categories.

Return value

string[] An array of translated categories, sorted alphabetically.

1 method overrides WebformOptionsStorageInterface::getCategories()
WebformOptionsStorage::getCategories in src/WebformOptionsStorage.php
Gets the names of all categories.

File

src/WebformOptionsStorageInterface.php, line 19

Class

WebformOptionsStorageInterface
Provides an interface for Webform Options storage.

Namespace

Drupal\webform

Code

public function getCategories();