public function WebformEntityStorageInterface::getOptions in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformEntityStorageInterface.php \Drupal\webform\WebformEntityStorageInterface::getOptions()
Get all webforms grouped by category.
Parameters
null|bool $template: If TRUE only template categories will be returned. If FALSE only webform categories will be returned. If NULL all categories will be returned.
Return value
string[] An array of options grouped by category.
1 method overrides WebformEntityStorageInterface::getOptions()
- WebformEntityStorage::getOptions in src/
WebformEntityStorage.php - Get all webforms grouped by category.
File
- src/
WebformEntityStorageInterface.php, line 37
Class
- WebformEntityStorageInterface
- Provides an interface for Webform storage.
Namespace
Drupal\webformCode
public function getOptions($template = NULL);