public static function GridStackDefault::variantWrapperId in GridStack 8.2
Returns variant wrapper AJAX ID.
7 calls to GridStackDefault::variantWrapperId()
- Builder::getVariantEditor in src/
Plugin/ gridstack/ stylizer/ Builder.php - Returns the AJAX CRUD container for layout variants.
- GridStackVariantForm::duplicateVariant in modules/
gridstack_ui/ src/ Form/ GridStackVariantForm.php - Callback for duplicating a layout variant.
- GridStackVariantForm::form in modules/
gridstack_ui/ src/ Form/ GridStackVariantForm.php - Gets the actual form array to be built.
- GridStackVariantFormController::cancel in modules/
gridstack_ui/ src/ Controller/ GridStackVariantFormController.php - Cancels layout changes.
- GridStackVariantFormController::edit in modules/
gridstack_ui/ src/ Controller/ GridStackVariantFormController.php - Returns the variant editor.
File
- src/
GridStackDefault.php, line 309
Class
- GridStackDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\gridstackCode
public static function variantWrapperId($id) {
return 'gridstack-variant-wrapper-' . str_replace([
'_',
':',
], '-', $id);
}