You are here

public static function ShsTermSelect::getOptionsCacheId in Webform Simple Hierarchical Select 8

Return an option cache ID for provided vocabulary.

Parameters

string $vid: Vocabulary id.

Return value

string Cache ID.

2 calls to ShsTermSelect::getOptionsCacheId()
ShsTermSelect::buildCachedTermOptions in src/Element/ShsTermSelect.php
Build a cached list of term options for provided vocabulary.
ShsTermSelect::invalidateOptionsCache in src/Element/ShsTermSelect.php
Invalidate options cache for provided vocabulary.

File

src/Element/ShsTermSelect.php, line 194

Class

ShsTermSelect
Provides a webform element for an shs term select menu.

Namespace

Drupal\webform_shs\Element

Code

public static function getOptionsCacheId($vid) {
  return 'webform_shs:options:' . $vid;
}