public static function GridStackDefault::htmlSettings in GridStack 8.2
Returns HTML or layout related settings, none of JS to shutup notices.
3 calls to GridStackDefault::htmlSettings()
- GridStackManager::prepareSettings in src/
GridStackManager.php - Build the HTML settings.
- GridStackManagerTest::testBuild in tests/
src/ Kernel/ GridStackManagerTest.php - Tests for GridStack build.
- template_preprocess_gridstack in templates/
gridstack.theme.inc - Prepares variables for gridstack.html.twig templates.
File
- src/
GridStackDefault.php, line 263
Class
- GridStackDefault
- Defines shared plugin default settings for field formatter and Views style.
Namespace
Drupal\gridstackCode
public static function htmlSettings() {
return [
'_lb' => FALSE,
'_lbux' => FALSE,
'_panels' => FALSE,
'_ipe' => FALSE,
'column' => 12,
'contentless' => FALSE,
'debug' => FALSE,
'ungridstack' => FALSE,
'id' => '',
'lightbox' => '',
'nested' => FALSE,
'rid' => NULL,
'root' => TRUE,
'_root' => 'grids',
'use_framework' => FALSE,
'use_js' => TRUE,
'use_inner' => TRUE,
'view_name' => '',
] + self::commonSettings() + self::imageSettings() + self::fixedSettings();
}