You are here

protected function GridStackStylizerPluginBase::getVariantUniqueId in GridStack 8.2

Returns unique variant ID.

1 call to GridStackStylizerPluginBase::getVariantUniqueId()
Form::globalForm in src/Plugin/gridstack/stylizer/Form.php

File

src/GridStackStylizerPluginBase.php, line 47

Class

GridStackStylizerPluginBase
Provides base class for all gridstack styles.

Namespace

Drupal\gridstack

Code

protected function getVariantUniqueId($optionset) {
  return $optionset
    ->id() . '__' . $optionset
    ->randomize();
}