public static function GridStackDefault::gid in GridStack 8.2
Returns gridstack random id related to the each layout.
2 calls to GridStackDefault::gid()
- Builder::getVariantEditor in src/
Plugin/ gridstack/ stylizer/ Builder.php - Returns the AJAX CRUD container for layout variants.
- Builder::getVariantLinks in src/
Plugin/ gridstack/ stylizer/ Builder.php - Returns the AJAX CRUD links for layout variants.
File
- src/
GridStackDefault.php, line 316
Class
- GridStackDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\gridstackCode
public static function gid($id) {
return str_replace([
'-',
':',
], '_', $id);
}